1 | /* |
1 | /* |
2 | * static char *rcsid_main_c = |
2 | * static char *rcsid_main_c = |
3 | * "$Id: main.C,v 1.2 2006/08/15 18:07:25 root Exp $"; |
3 | * "$Id: main.C,v 1.3 2006/08/17 20:23:31 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 | |
… | |
… | |
356 | if (oldmap->players <= 0) /* can be less than zero due to errors in tracking this */ |
356 | if (oldmap->players <= 0) /* can be less than zero due to errors in tracking this */ |
357 | set_map_timeout(oldmap); |
357 | set_map_timeout(oldmap); |
358 | } |
358 | } |
359 | } |
359 | } |
360 | swap_below_max (newmap->path); |
360 | swap_below_max (newmap->path); |
361 | |
|
|
362 | if( op->type == PLAYER) |
|
|
363 | MapNewmapCmd( op->contr); |
|
|
364 | } |
361 | } |
365 | |
362 | |
366 | void set_map_timeout(mapstruct *oldmap) |
363 | void set_map_timeout(mapstruct *oldmap) |
367 | { |
364 | { |
368 | #if MAP_MAXTIMEOUT |
365 | #if MAP_MAXTIMEOUT |