From b9acedeb4df336717c043378799fe005118b1fc6 Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Mon, 5 Mar 2007 08:04:57 +0100 Subject: [PATCH] pause key not special cased, but as any other command key --- client.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/client.c b/client.c index 47916fc..c4de9b1 100644 --- a/client.c +++ b/client.c @@ -443,6 +443,9 @@ void OneGame(void) case KT_quit: handle_cmd(CT_quit, NULL); return 1; + case KT_pause: + handle_cmd(CT_pause, NULL); + return 1; default: return 0; } @@ -450,12 +453,6 @@ void OneGame(void) // global actions (always possible, even if not playing) if (handle_key(key)) return; - // actions available while in game - switch (key) { - case KT_pause: - return handle_cmd(CT_pause, NULL); - } - if (Players[me].alive <= 0 || paused) return; // actions only available while actually playing switch (key) { -- 2.30.0