version 1.62 | | version 1.63 |
---|
| | |
/* | | /* |
* static char *rcsid_object_c = | | * static char *rcsid_object_c = |
* "$Id: object.c,v 1.62 2003/01/08 08:39:17 mwedel Exp $"; | | * "$Id: object.c,v 1.63 2003/01/21 08:10:05 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
if(out_of_map(m,op->x,op->y)) { | | if(out_of_map(m,op->x,op->y)) { |
dump_object(op); | | dump_object(op); |
LOG(llevError,"Trying to insert object outside the map.\n%s\n", errmsg); | | LOG(llevError,"Trying to insert object outside the map.\n%s\n", errmsg); |
| | #ifdef MANY_CORES |
| | /* Better to catch this here, as otherwise the next use of this object |
| | * is likely to cause a crash. Better to find out where it is getting |
| | * improperly inserted. |
| | */ |
| | abort(); |
| | #endif |
return op; | | return op; |
} | | } |
if(!QUERY_FLAG(op,FLAG_REMOVED)) { | | if(!QUERY_FLAG(op,FLAG_REMOVED)) { |