… | |
… | |
258 | new_draw_info (NDI_UNIQUE, 0, victim, trap->msg); |
258 | new_draw_info (NDI_UNIQUE, 0, victim, trap->msg); |
259 | |
259 | |
260 | /* Flash an image of the trap on the map so the poor sod |
260 | /* Flash an image of the trap on the map so the poor sod |
261 | * knows what hit him. |
261 | * knows what hit him. |
262 | */ |
262 | */ |
263 | env = object_get_env_recursive (trap); |
263 | env = trap->outer_env (); |
264 | |
264 | |
265 | /* If the victim is not next to this trap, don't set it off. |
265 | /* If the victim is not next to this trap, don't set it off. |
266 | * players shouldn't get hit by firing arrows at a door for example. |
266 | * players shouldn't get hit by firing arrows at a door for example. |
267 | * At the same time, the trap will stick around until detonated |
267 | * At the same time, the trap will stick around until detonated |
268 | */ |
268 | */ |