U189 - killing an engulfing monster over water allows waterwalking
- The code in xkilled failed to call spoteffects after killing the monster that was engulfing you. Being expelled already worked correctly. - While testing this, I discovered that removing a ring of levitation or similar while engulfed would call spoteffects when it shouldn't. Fixed that too.
This commit is contained in:
@@ -1759,8 +1759,9 @@ xkilled(mtmp, dest)
|
||||
redisp = TRUE;
|
||||
}
|
||||
#endif
|
||||
if(!accessible(x, y) && !is_pool(x, y)) {
|
||||
/* might be mimic in wall or corpse in lava */
|
||||
if((!accessible(x, y) && !is_pool(x, y)) ||
|
||||
(x == u.ux && y == u.uy)) {
|
||||
/* might be mimic in wall or corpse in lava or on player's spot */
|
||||
redisp = TRUE;
|
||||
if(wasinside) spoteffects(TRUE);
|
||||
} else if(x != u.ux || y != u.uy) {
|
||||
|
||||
Reference in New Issue
Block a user