… | |
… | |
237 | * this is the original object, or if this is an object that should be created |
237 | * this is the original object, or if this is an object that should be created |
238 | * by another object. |
238 | * by another object. |
239 | */ |
239 | */ |
240 | if (flags & GT_ENVIRONMENT && op->type != SPELL) |
240 | if (flags & GT_ENVIRONMENT && op->type != SPELL) |
241 | { |
241 | { |
|
|
242 | op->deactivate_recursive (); |
|
|
243 | op->expand_tail (); |
|
|
244 | |
242 | if (ob_blocked (op, creator->map, creator->x, creator->y)) |
245 | if (ob_blocked (op, creator->map, creator->x, creator->y)) |
243 | op->destroy (); |
246 | op->destroy (); |
244 | else |
247 | else |
245 | { |
248 | { |
246 | SET_FLAG (op, FLAG_OBJ_ORIGINAL); |
249 | SET_FLAG (op, FLAG_OBJ_ORIGINAL); |