[Scummvm-cvs-logs] SF.net SVN: scummvm:[54770] scummvm/trunk/engines/mohawk/livingbooks.cpp

fuzzie at users.sourceforge.net fuzzie at users.sourceforge.net
Sun Dec 5 00:48:15 CET 2010


Revision: 54770
          http://scummvm.svn.sourceforge.net/scummvm/?rev=54770&view=rev
Author:   fuzzie
Date:     2010-12-04 23:48:14 +0000 (Sat, 04 Dec 2010)

Log Message:
-----------
MOHAWK: fix LB menu mode with subpages

Modified Paths:
--------------
    scummvm/trunk/engines/mohawk/livingbooks.cpp

Modified: scummvm/trunk/engines/mohawk/livingbooks.cpp
===================================================================
--- scummvm/trunk/engines/mohawk/livingbooks.cpp	2010-12-04 23:47:59 UTC (rev 54769)
+++ scummvm/trunk/engines/mohawk/livingbooks.cpp	2010-12-04 23:48:14 UTC (rev 54770)
@@ -156,7 +156,8 @@
 
 				case Common::KEYCODE_ESCAPE:
 					if (_curMode == kLBIntroMode)
-						loadPage(kLBControlMode, 1, 0);
+						if (!loadPage(kLBControlMode, 1, 1))
+							loadPage(kLBControlMode, 1, 0);
 					break;
 
 				case Common::KEYCODE_LEFT:
@@ -652,6 +653,8 @@
 		}
 	} else {
 		// go to menu page
+		if (loadPage(kLBControlMode, 1, 1))
+			return true;
 		if (loadPage(kLBControlMode, 1, 0))
 			return true;
 	}


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