version 1.152 | | version 1.153 |
---|
| | |
/* | | /* |
* static char *rcsid_player_c = | | * static char *rcsid_player_c = |
* "$Id: player.c,v 1.152 2004/08/30 17:21:37 akirschbaum Exp $"; | | * "$Id: player.c,v 1.153 2004/09/19 17:13:54 akirschbaum Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
player *pl; | | player *pl; |
for(pl=first_player;pl!=NULL;pl=pl->next) | | for(pl=first_player;pl!=NULL;pl=pl->next) |
{ | | { |
if(pl->ob != NULL && !QUERY_FLAG(pl->ob,FLAG_REMOVED) && !strcmp(query_name(pl->ob),plname)) | | if(pl->ob != NULL && !strcmp(query_name(pl->ob),plname)) |
return pl; | | return pl; |
}; | | }; |
return NULL; | | return NULL; |