version 1.114 | | version 1.115 |
---|
| | |
/* | | /* |
* static char *rcsid_object_c = | | * static char *rcsid_object_c = |
* "$Id: object.c,v 1.114 2005/11/30 20:59:09 akirschbaum Exp $"; | | * "$Id: object.c,v 1.115 2005/12/05 22:58:34 akirschbaum Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
} | | } |
if(op->more!=NULL) { | | if(op->more!=NULL) { |
/* The part may be on a different map. */ | | /* The part may be on a different map. */ |
if (insert_ob_in_map(op->more,op->more->map,originator,flag) == NULL) { | | |
| | object *more = op->more; |
| | |
| | /* Debugging information so you can see the last coordinates this object had */ |
| | more->ox = more->x; |
| | more->oy = more->y; |
| | more->map = get_map_from_coord(m, &more->x, &more->y); |
| | |
| | if (insert_ob_in_map(more, more->map, originator, flag) == NULL) { |
if ( ! op->head) | | if ( ! op->head) |
LOG (llevError, "BUG: insert_ob_in_map(): inserting op->more killed op\n"); | | LOG (llevError, "BUG: insert_ob_in_map(): inserting op->more killed op\n"); |
return NULL; | | return NULL; |