Difference for server/apply.c from version 1.141 to 1.142


version 1.141 version 1.142
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_apply_c =   * static char *rcsid_apply_c =
  *   "$Id: apply.c,v 1.141 2005/10/06 23:36:20 akirschbaum Exp $";   *   "$Id: apply.c,v 1.142 2005/10/07 19:38:49 akirschbaum Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 2259
 
Line 2259
     if (tmp->stats.hp > 0) {      if (tmp->stats.hp > 0) {
       LOG(llevDebug,"Trying to poison player/monster for %d hp\n",        LOG(llevDebug,"Trying to poison player/monster for %d hp\n",
           tmp->stats.hp);            tmp->stats.hp);
       hit_player(op, tmp->stats.hp, tmp, AT_POISON);        hit_player(op, tmp->stats.hp, tmp, AT_POISON, 1);
     }      }
     op->stats.food-=op->stats.food/4;      op->stats.food-=op->stats.food/4;
     decrease_ob(tmp);      decrease_ob(tmp);
Line 3581
 
Line 3581
     if(food->stats.hp!=0) {      if(food->stats.hp!=0) {
  if(QUERY_FLAG(food, FLAG_CURSED)) {    if(QUERY_FLAG(food, FLAG_CURSED)) {
      strcpy(who->contr->killer,food->name);       strcpy(who->contr->killer,food->name);
      hit_player(who, food->stats.hp, food, AT_POISON);       hit_player(who, food->stats.hp, food, AT_POISON, 1);
      new_draw_info(NDI_UNIQUE, 0,who,"Eck!...that was poisonous!");       new_draw_info(NDI_UNIQUE, 0,who,"Eck!...that was poisonous!");
  } else {    } else {
      if(food->stats.hp>0)        if(food->stats.hp>0)


Legend:
line(s) removed in v.1.141 
line(s) changed
 line(s) added in v.1.142

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:22