Fix priest generated inside temple wall

In a rare case, a random room's width can be 2 tiles, and if
that room was converted into a temple, the priest ended up
inside the wall. Try to put the priest on a random valid position
around the altar, or on it.
This commit is contained in:
Pasi Kallinen
2020-03-12 19:13:08 +02:00
parent a6c600fd61
commit 2ff8523481
4 changed files with 24 additions and 4 deletions

View File

@@ -75,6 +75,7 @@ when punished, involuntarily teleporting and landing within chain range of
"remove_object: obj not on floor" panic on hero's next move
inventory cursing caused by "this water's no good" effect when drinking from
a fountain didn't update persistent inventory window
fix priest created inside temple wall
Fixes to 3.7.0-x Problems that Were Exposed Via git Repository