Stop occupation when timed levitation or choking issues a message

This commit is contained in:
Pasi Kallinen
2023-09-30 21:15:20 +03:00
parent cf3cbcf832
commit b1e3863b43
2 changed files with 3 additions and 0 deletions

View File

@@ -1246,6 +1246,7 @@ the throne room on the Samurai quest home level lacked a throne but gave
"You enter an opulent throne room!" message the first time it was
entered; vary the message rather than add a throne
coughing due to stinking cloud wakes up nearby monsters
stop occupation when timed levitation or choking issues a message
Fixes to 3.7.0-x General Problems Exposed Via git Repository

View File

@@ -292,6 +292,7 @@ choke_dialogue(void)
urgent_pline(str, hcolor(NH_BLUE));
else
urgent_pline("%s", str);
stop_occupation();
}
}
exercise(A_STR, FALSE);
@@ -357,6 +358,7 @@ levitation_dialogue(void)
danger ? surface(u.ux, u.uy) : "air");
} else
pline1(s);
stop_occupation();
}
}