U154 - crash on teleport from engulfing mon
teleds now needs to handle the case where an uncarried ball starts out inactive, but becomes active as a result of teleporting out of a monster while engulfed.
This commit is contained in:
@@ -266,6 +266,11 @@ boolean allow_drag;
|
||||
|
||||
if (u.uswallow) {
|
||||
u.uswldtim = u.uswallow = 0;
|
||||
if (Punished && !ball_active) {
|
||||
/* ensure ball placement, like unstuck */
|
||||
ball_active = TRUE;
|
||||
allow_drag = FALSE;
|
||||
}
|
||||
docrt();
|
||||
}
|
||||
if (ball_active) {
|
||||
|
||||
Reference in New Issue
Block a user