version 1.101 | | version 1.102 |
---|
| | |
/* | | /* |
* static char *rcsid_object_c = | | * static char *rcsid_object_c = |
* "$Id: object.c,v 1.101 2005/08/31 20:07:22 tchize Exp $"; | | * "$Id: object.c,v 1.102 2005/09/03 00:12:03 akirschbaum Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
/* If we have a floor, we know the player, if any, will be above | | /* If we have a floor, we know the player, if any, will be above |
* it, so save a few ticks and start from there. | | * it, so save a few ticks and start from there. |
*/ | | */ |
if (!(flag |INS_MAP_LOAD)) | | if (!(flag & INS_MAP_LOAD)) |
for(tmp=floor?floor:GET_MAP_OB(op->map,op->x,op->y);tmp!=NULL;tmp=tmp->above) { | | for(tmp=floor?floor:GET_MAP_OB(op->map,op->x,op->y);tmp!=NULL;tmp=tmp->above) { |
if (tmp->type == PLAYER) | | if (tmp->type == PLAYER) |
tmp->contr->socket.update_look=1; | | tmp->contr->socket.update_look=1; |