… | |
… | |
234 | |
234 | |
235 | if (oldmap) |
235 | if (oldmap) |
236 | { |
236 | { |
237 | if (!op->contr->hidden) |
237 | if (!op->contr->hidden) |
238 | oldmap->players--; |
238 | oldmap->players--; |
|
|
239 | |
239 | if (oldmap->players <= 0) |
240 | if (oldmap->players <= 0) |
240 | { /* can be less than zero due to errors in tracking this */ |
241 | /* can be less than zero due to errors in tracking this */ |
241 | set_map_timeout (oldmap); |
242 | set_map_timeout (oldmap); |
242 | } |
|
|
243 | } |
243 | } |
244 | } |
244 | } |
245 | |
245 | |
246 | /* |
246 | /* |
247 | * enter_map(): Moves the player and pets from current map (if any) to |
247 | * enter_map(): Moves the player and pets from current map (if any) to |