From e905723b1ed12340d4da0239aa17d5eb778bc4af Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sat, 8 Dec 2007 02:38:04 +0000 Subject: Cleanup and simplification svn-id: r29755 --- engines/cine/various.cpp | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/engines/cine/various.cpp b/engines/cine/various.cpp index bb97ba3188..fe9cc30fef 100644 --- a/engines/cine/various.cpp +++ b/engines/cine/various.cpp @@ -2119,38 +2119,13 @@ uint16 executePlayerInput(void) { switch (var_2 - 59) { case 0: - if (allowPlayerInput) { - playerCommand = 0; - makeCommandLine(); - } - break; case 1: - if (allowPlayerInput) { - playerCommand = 1; - makeCommandLine(); - } - break; case 2: - if (allowPlayerInput) { - playerCommand = 2; - makeCommandLine(); - } - break; case 3: - if (allowPlayerInput) { - playerCommand = 3; - makeCommandLine(); - } - break; case 4: - if (allowPlayerInput) { - playerCommand = 4; - makeCommandLine(); - } - break; case 5: if (allowPlayerInput) { - playerCommand = 5; + playerCommand = var_2 - 59; makeCommandLine(); } break; -- cgit v1.2.3