diff options
author | Filippos Karapetis | 2007-12-08 02:38:04 +0000 |
---|---|---|
committer | Filippos Karapetis | 2007-12-08 02:38:04 +0000 |
commit | e905723b1ed12340d4da0239aa17d5eb778bc4af (patch) | |
tree | 003ed92a8db422a68dbde9b94515f47651999d9e | |
parent | c488384f194c13a04c99e536d98f1be1db57fdd4 (diff) | |
download | scummvm-rg350-e905723b1ed12340d4da0239aa17d5eb778bc4af.tar.gz scummvm-rg350-e905723b1ed12340d4da0239aa17d5eb778bc4af.tar.bz2 scummvm-rg350-e905723b1ed12340d4da0239aa17d5eb778bc4af.zip |
Cleanup and simplification
svn-id: r29755
-rw-r--r-- | engines/cine/various.cpp | 27 |
1 files changed, 1 insertions, 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; |