| Date: Tue, 17 Jun 2003 12:00:57 +0000
Fix to prevent you from pressing 'D' when you are attacked by the cops.
Diffstat:
M src/curses_client/curses_client.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
--- |
| t@@ -2605,9 +2605,11 @@ static void Curses_DoGame(Player *Play)
} else if (DisplayMode == DM_FIGHT) {
switch (c) {
case 'D':
- DisplayMode = DM_STREET;
- if (!(Play->Flags & FIGHTING) && HaveAbility(Play, A_DONEFIGHT)) {
- SendClientMessage(Play, C_NONE, C_DONE, NULL, NULL);
+ if (!RunHere || fp == F_LASTLEAVE) {
+ DisplayMode = DM_STREET;
+ if (!(Play->Flags & FIGHTING) && HaveAbility(Play, A_DONEFIGHT)) {
+ SendClientMessage(Play, C_NONE, C_DONE, NULL, NULL);
+ }
}
break;
case 'R': |