[Scummvm-cvs-logs] SF.net SVN: scummvm: [29755] scummvm/trunk/engines/cine/various.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Sat Dec 8 03:38:05 CET 2007


Revision: 29755
          http://scummvm.svn.sourceforge.net/scummvm/?rev=29755&view=rev
Author:   thebluegr
Date:     2007-12-07 18:38:04 -0800 (Fri, 07 Dec 2007)

Log Message:
-----------
Cleanup and simplification

Modified Paths:
--------------
    scummvm/trunk/engines/cine/various.cpp

Modified: scummvm/trunk/engines/cine/various.cpp
===================================================================
--- scummvm/trunk/engines/cine/various.cpp	2007-12-08 02:24:12 UTC (rev 29754)
+++ scummvm/trunk/engines/cine/various.cpp	2007-12-08 02:38:04 UTC (rev 29755)
@@ -2119,38 +2119,13 @@
 
 		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;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list