version 1.36 | | version 1.37 |
---|
| | |
/* | | /* |
* static char *rcsid_player_c = | | * static char *rcsid_player_c = |
* "$Id: player.c,v 1.36 2001/01/26 07:23:26 cvs Exp $"; | | * "$Id: player.c,v 1.37 2001/01/31 07:54:52 cvs Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
*/ | | */ |
int handle_newcs_player(object *op) | | int handle_newcs_player(object *op) |
{ | | { |
if(op->contr->state == ST_PLAYING && op->contr->loading != NULL) { | | |
if(op->contr->loading->in_memory == MAP_IN_MEMORY) { | | |
LOG(llevDebug,"In handle player, entering map\n"); | | |
enter_map(op); | | |
} | | |
else | | |
return 0; | | |
} | | |
if(op->invisible&&!(QUERY_FLAG(op,FLAG_MAKE_INVIS))) { | | if(op->invisible&&!(QUERY_FLAG(op,FLAG_MAKE_INVIS))) { |
op->invisible--; | | op->invisible--; |
if(!op->invisible) make_visible(op); | | if(!op->invisible) make_visible(op); |