version 1.93 | | version 1.94 |
---|
| | |
/* | | /* |
* static char *rcsid_monster_c = | | * static char *rcsid_monster_c = |
* "$Id: monster.c,v 1.93 2005/10/18 16:54:31 gros Exp $"; | | * "$Id: monster.c,v 1.94 2005/10/28 19:08:53 akirschbaum Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
| | |
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; | | next_tag = next ? next->count : 0; |
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); |
| | |
| | |
int talk_to_npc(object *op, object *npc, const char *txt) { | | int talk_to_npc(object *op, object *npc, const char *txt) { |
object *cobj; | | object *cobj; |
int k, l, m; | | |
uint32 n; | | |
| | |
/* Move this commone area up here - shouldn't cost much extra cpu | | /* Move this commone area up here - shouldn't cost much extra cpu |
* time, and makes the function more readable */ | | * time, and makes the function more readable */ |