]> granicus.if.org Git - nethack/commit
rolling boulder not in bones files
authornethack.allison <nethack.allison>
Mon, 23 Aug 2004 16:57:59 +0000 (16:57 +0000)
committernethack.allison <nethack.allison>
Mon, 23 Aug 2004 16:57:59 +0000 (16:57 +0000)
commitd84ad3ec3cd26c336210723b9d8900c23a775920
treee22b86c0eba8c913481f8b253cc5c502fb5c57a3
parent10eea7710d9c14fb7133144b76c9807186679709
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.
doc/fixes34.4
include/extern.h
src/end.c
src/trap.c