]> granicus.if.org Git - nethack/commit
gas cloud fix
authorPatR <rankin@nethack.org>
Sun, 17 Nov 2019 02:31:30 +0000 (18:31 -0800)
committerPatR <rankin@nethack.org>
Sun, 17 Nov 2019 02:31:30 +0000 (18:31 -0800)
commit22980d81712c2639c4c477aae0e4196e44038e71
treeadf72ab6cc814f0a46532e902072294e530ed3e7
parent2a079240631a724e2ff5e047d3fde002dac00ad4
gas cloud fix

remove_region() calls newsym() when removing gas clouds, but when
newsym() checked whether it was updating a gas cloud location it
always got a false 'yes' because the region hadn't been removed yet.
Fixing this didn't seem to make any observable difference so it must
be followed fairly rapidly by a full vision recalc.
src/region.c