Fix a rare crash involving vault wardens
authorDracoOmega <draco_omega@live.com>
Sat, 9 Mar 2013 20:39:15 +0000 (17:09 -0330)
committerDracoOmega <draco_omega@live.com>
Sat, 9 Mar 2013 20:41:47 +0000 (17:11 -0330)
commit28d10bcf46dfa41c1dee429dd7c0794fd5401074
tree20a6dc860b259f1bca5384e5e0a5f04b595a6a1b
parent22e982bd11e6c1719a90c3b508ad813d675a13de
Fix a rare crash involving vault wardens

Free adjacency checks for their door sealing ability weren't being
handled properly if a player was standing in the doorway, but this
fact was obscured by the tension calculations used to decide whether
to seal the door at all (which normally erroneously decided 'no' in
most cases where this bug applied)
crawl-ref/source/mon-abil.cc