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:
@@ -2102,6 +2102,8 @@ E boolean NDECL(unconscious);
|
||||
E boolean NDECL(lava_effects);
|
||||
E void FDECL(blow_up_landmine, (struct trap *));
|
||||
E int FDECL(launch_obj,(SHORT_P,int,int,int,int,int));
|
||||
E boolean NDECL(launch_in_progress);
|
||||
E void NDECL(force_launch_placement);
|
||||
E boolean FDECL(uteetering_at_seen_pit, (struct trap *));
|
||||
|
||||
/* ### u_init.c ### */
|
||||
|
||||
Reference in New Issue
Block a user