Difference for server/monster.c from version 1.9 to 1.10


version 1.9 version 1.10
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_monster_c =   * static char *rcsid_monster_c =
  *    "$Id: monster.c,v 1.9 2000/11/20 00:59:16 peterm Exp $";   *    "$Id: monster.c,v 1.10 2000/11/24 01:16:01 peterm Exp $";
  */   */
   
 /*  /*
Line 97
 
Line 97
 object *find_enemy(object *npc) {  object *find_enemy(object *npc) {
   object *tmp=NULL;    object *tmp=NULL;
      
   if(QUERY_FLAG(npc,FLAG_BERSERK)) {    /*  if(QUERY_FLAG(npc,FLAG_BERSERK)) {
     return find_nearest_living_creature(npc);      return find_nearest_living_creature(npc);
   }      }*/
   if ((npc->move_type & HI4) == PETMOVE)    if ((npc->move_type & HI4) == PETMOVE)
     return get_pet_enemy(npc);      return get_pet_enemy(npc);
   if((tmp=get_enemy(npc))==NULL)    if((tmp=get_enemy(npc))==NULL)


Legend:
line(s) removed in v.1.9 
line(s) changed
 line(s) added in v.1.10

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