rolling boulder not in bones files
<Someone> Cced from rgrn: <email deleted> (<Someone>) writes: [killed by a boulder trap, left bones] > Then I realized... there's no boulder. Did the boulder disappear > because I died from the attack, thus bypassing the code that moves the > boulder to its intended destination? Did the creation of the bones > file destroy the boulder? Do boulder traps sometimes get > "deactivated" when bones files are loaded? The first of these. If you look at launch_obj(), there's an obj_extract_self() early on, then all the tracking its trajectory, then a place_object() when it comes to rest; since the thitu() call kills you during the trajectory part, the boulder never gets re-placed onto the map. This is, I think, a bug (and one that will apply to any monster-thrown object that kills you, as well); reported to the DevTeam.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* SCCS Id: @(#)end.c 3.4 2003/03/10 */
|
||||
/* SCCS Id: @(#)end.c 3.4 2004/08/23 */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
@@ -668,6 +668,8 @@ die:
|
||||
if (how == TURNED_SLIME)
|
||||
u.ugrave_arise = PM_GREEN_SLIME;
|
||||
|
||||
if (bones_ok && launch_in_progress()) force_launch_placement();
|
||||
|
||||
if (bones_ok && u.ugrave_arise < LOW_PM) {
|
||||
/* corpse gets burnt up too */
|
||||
if (how == BURNING)
|
||||
|
||||
Reference in New Issue
Block a user