1 | /* |
1 | /* |
2 | * static char *rcsid_init_c = |
2 | * static char *rcsid_init_c = |
3 | * "$Id: request.C,v 1.10 2006/08/25 17:11:54 root Exp $"; |
3 | * "$Id: request.C,v 1.11 2006/08/29 07:34:01 root Exp $"; |
4 | */ |
4 | */ |
5 | |
5 | |
6 | /* |
6 | /* |
7 | CrossFire, A Multiplayer game for X-windows |
7 | CrossFire, A Multiplayer game for X-windows |
8 | |
8 | |
… | |
… | |
1991 | if (pl->type != PLAYER) { |
1991 | if (pl->type != PLAYER) { |
1992 | LOG(llevError,"draw_client_map called with non player/non eric-server\n"); |
1992 | LOG(llevError,"draw_client_map called with non player/non eric-server\n"); |
1993 | return; |
1993 | return; |
1994 | } |
1994 | } |
1995 | |
1995 | |
1996 | if (pl->contr->transport) { |
|
|
1997 | pm = pl->contr->transport->map; |
|
|
1998 | } |
|
|
1999 | else |
|
|
2000 | pm = pl->map; |
1996 | pm = pl->map; |
2001 | |
1997 | |
2002 | /* If player is just joining the game, he isn't here yet, so the map |
1998 | /* If player is just joining the game, he isn't here yet, so the map |
2003 | * can get swapped out. If so, don't try to send them a map. All will |
1999 | * can get swapped out. If so, don't try to send them a map. All will |
2004 | * be OK once they really log in. |
2000 | * be OK once they really log in. |
2005 | */ |
2001 | */ |