version 1.15 | | version 1.16 |
---|
| | |
debug("Out of Map\n"); | | debug("Out of Map\n"); |
return; | | return; |
} | | } |
op = ObjectCreateArch (at); | | op = object_create_arch (at); |
if (op) { | | if (op) { |
MapInsertObjectZ(emap,op,x,y,i); | | MapInsertObjectZ(emap,op,x,y,i); |
/*debug3 ("Inserting %s %d %d\n", op->name, op->x, op->y);*/ | | /*debug3 ("Inserting %s %d %d\n", op->name, op->x, op->y);*/ |
| | |
int button_value; | | int button_value; |
| | |
/*** create & insert ***/ | | /*** create & insert ***/ |
if ((op = ObjectCreateClone(obj))) { | | if ((op = object_create_clone(obj))) { |
/*** object do not fit ***/ | | /*** object do not fit ***/ |
if(!MapObjectOut(self->emap,op,x,y)) { | | if(!MapObjectOut(self->emap,op,x,y)) { |
MapInsertObjectZ (self->emap, op, x, y, z); | | MapInsertObjectZ (self->emap, op, x, y, z); |