version 1.53 | | version 1.54 |
---|
| | |
/* | | /* |
* static char *rcsid_map_c = | | * static char *rcsid_map_c = |
* "$Id: map.c,v 1.53 2003/03/08 05:35:32 mwedel Exp $"; | | * "$Id: map.c,v 1.54 2003/05/26 23:58:47 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
Copyright (C) 2001 Mark Wedel & Crossfire Development Team | | Copyright (C) 2001-2003 Mark Wedel & Crossfire Development Team |
Copyright (C) 1992 Frank Tore Johansen | | Copyright (C) 1992 Frank Tore Johansen |
| | |
This program is free software; you can redistribute it and/or modify | | This program is free software; you can redistribute it and/or modify |
| | |
* this leaves more of the map data intact for better debugging. | | * this leaves more of the map data intact for better debugging. |
*/ | | */ |
for (op=objects; op!=NULL; op=op->next) { | | for (op=objects; op!=NULL; op=op->next) { |
if (op->map == m) { | | if (!QUERY_FLAG(op, FLAG_REMOVED) && op->map == m) { |
LOG(llevDebug,"free_all_objects: object %s still on map after it should have been freed", op->name); | | LOG(llevDebug,"free_all_objects: object %s still on map after it should have been freed", op->name); |
abort(); | | abort(); |
} | | } |