Difference for server/monster.c from version 1.96 to 1.97


version 1.96 version 1.97
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_monster_c =   * static char *rcsid_monster_c =
  *    "$Id: monster.c,v 1.96 2006/01/07 18:30:05 akirschbaum Exp $";   *    "$Id: monster.c,v 1.97 2006/03/14 15:33:28 ryo_saeba Exp $";
  */   */
   
 /*  /*
Line 1246
 
Line 1246
     /* Eating food gets hp back */      /* Eating food gets hp back */
     else if (item->type == FOOD && mon->will_apply & WILL_APPLY_FOOD) flag=1;      else if (item->type == FOOD && mon->will_apply & WILL_APPLY_FOOD) flag=1;
     else if (item->type == SCROLL && QUERY_FLAG(mon, FLAG_USE_SCROLL)) {      else if (item->type == SCROLL && QUERY_FLAG(mon, FLAG_USE_SCROLL)) {
  if (monster_should_cast_spell(mon, item->inv))          if (!item->inv)
               LOG(llevDebug,"Monster %d having scroll %d with empty inventory!", mon->count, item->count);
           else if (monster_should_cast_spell(mon, item->inv))
      SET_FLAG(mon, FLAG_READY_SCROLL);       SET_FLAG(mon, FLAG_READY_SCROLL);
  /* Don't use it right now */   /* Don't use it right now */
  return;   return;


Legend:
line(s) removed in v.1.96 
line(s) changed
 line(s) added in v.1.97

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