1 | /* |
1 | /* |
2 | * CrossFire, A Multiplayer game for X-windows |
2 | * CrossFire, A Multiplayer game |
3 | * |
3 | * |
4 | * Copyright (C) 2005, 2006, 2007 Marc Lehmann & Crossfire+ Development Team |
4 | * Copyright (C) 2005, 2006, 2007 Marc Lehmann & Crossfire+ Development Team |
5 | * Copyright (C) 2002 Mark Wedel & Crossfire Development Team |
5 | * Copyright (C) 2002 Mark Wedel & Crossfire Development Team |
6 | * Copyright (C) 1992 Frank Tore Johansen |
6 | * Copyright (C) 1992 Frank Tore Johansen |
7 | * |
7 | * |
… | |
… | |
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 (); |
242 | op->expand_tail (); |
244 | |
243 | |
245 | if (ob_blocked (op, creator->map, creator->x, creator->y)) |
244 | if (ob_blocked (op, creator->map, creator->x, creator->y)) |
246 | op->destroy (); |
245 | op->destroy (); |
247 | else |
246 | else |