Difference for server/monster.c from version 1.19 to 1.20


version 1.19 version 1.20
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_monster_c =   * static char *rcsid_monster_c =
  *    "$Id: monster.c,v 1.19 2001/04/21 04:26:09 mwedel Exp $";   *    "$Id: monster.c,v 1.20 2001/05/02 07:26:51 mwedel Exp $";
  */   */
   
 /*  /*
Line 807
 
Line 807
   
 void monster_check_pickup(object *monster) {  void monster_check_pickup(object *monster) {
   object *tmp,*next;    object *tmp,*next;
 #if 0    int next_tag;
   object *outofdate;  
 #endif  
   for(tmp=monster->below;tmp!=NULL;tmp=next) {    for(tmp=monster->below;tmp!=NULL;tmp=next) {
     next=tmp->below;      next=tmp->below;
       if (next) next_tag = next->count;
     if (monster_can_pick(monster,tmp)) {      if (monster_can_pick(monster,tmp)) {
       remove_ob(tmp);        remove_ob(tmp);
       tmp = insert_ob_in_ob(tmp,monster);        tmp = insert_ob_in_ob(tmp,monster);
       (void) monster_check_apply(monster,tmp);        (void) monster_check_apply(monster,tmp);
     }      }
       /* We could try to re-establish the cycling, of the space, but probably
        * not a big deal to just bail out.
        */
       if (next && was_destroyed(next, next_tag)) return;
   }    }
 }  }
   


Legend:
line(s) removed in v.1.19 
line(s) changed
 line(s) added in v.1.20

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