]> granicus.if.org Git - nethack/commit
B14001 - Stinking clouds in bonesfiles
authorcohrs <cohrs>
Wed, 16 Oct 2002 06:30:36 +0000 (06:30 +0000)
committercohrs <cohrs>
Wed, 16 Oct 2002 06:30:36 +0000 (06:30 +0000)
commitcb38d0882d71702439dcecd81f97838f39be4a96
treec98bf8a7cfd73341ecc5341d4822b1745c7176ce
parentbb732e194aff9c48587b09f6b99797a79c9d1c5b
B14001 - Stinking clouds in bonesfiles
Incorporate a fix from <Someone> that resets the timestamp on
stinking clouds left in bones files.  This does allow the cloud's ttl to
restart.  Extended it to reset the player_inside flag.

Then noticed that the only placed that called in_out_region was domove().
Added calls when changing levels (which causes player_inside to be set
correctly if the cloud covers the location where the player starts on the
bones level), teleporting, and inside hurtle_step.  There are still other
places that fail to call in_out_region, which others may choose to tackle.

I split out the remaining stinking cloud bug reported in the same e-mail
into a separate betabug.  That one probably cannot be addressed without
changing the level file format to track the creator.
doc/fixes34.1
include/extern.h
src/do.c
src/dothrow.c
src/region.c
src/restore.c
src/teleport.c