version 1.84 | | version 1.85 |
---|
| | |
/* | | /* |
* static char *rcsid_c_wiz_c = | | * static char *rcsid_c_wiz_c = |
* "$Id: c_wiz.c,v 1.84 2006/06/05 06:28:56 mwedel Exp $"; | | * "$Id: c_wiz.c,v 1.85 2006/07/25 15:43:27 gros Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
return 1; | | return 1; |
} | | } |
| | |
| | /* Forbid using reset on our own map when we're in a transport, as |
| | * it has the displeasant effect of crashing the server. |
| | * - gros, July 25th 2006 */ |
| | if ((op->contr && op->contr->transport)&&(op->map == m)) |
| | { |
| | new_draw_info(NDI_UNIQUE, 0, op, "You need to disembark first."); |
| | return 1; |
| | } |
| | |
if (m->in_memory != MAP_SWAPPED) { | | if (m->in_memory != MAP_SWAPPED) { |
if (m->in_memory != MAP_IN_MEMORY) { | | if (m->in_memory != MAP_IN_MEMORY) { |
LOG(llevError, "Tried to swap out map which was not in memory.\n"); | | LOG(llevError, "Tried to swap out map which was not in memory.\n"); |