[Scummvm-cvs-logs] scummvm master -> e0430e6e9e3c08167d48df9540f61843c3faac80

clone2727 clone2727 at gmail.com
Mon Feb 14 16:35:16 CET 2011


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
e0430e6e9e MOHAWK: Correct the variable used for the lab book in Riven


Commit: e0430e6e9e3c08167d48df9540f61843c3faac80
    https://github.com/scummvm/scummvm/commit/e0430e6e9e3c08167d48df9540f61843c3faac80
Author: Matthew Hoops (clone2727 at gmail.com)
Date: 2011-02-14T07:34:18-08:00

Commit Message:
MOHAWK: Correct the variable used for the lab book in Riven

Changed paths:
    engines/mohawk/riven_external.cpp



diff --git a/engines/mohawk/riven_external.cpp b/engines/mohawk/riven_external.cpp
index a82af46..7da5515 100644
--- a/engines/mohawk/riven_external.cpp
+++ b/engines/mohawk/riven_external.cpp
@@ -686,7 +686,7 @@ void RivenExternal::xaexittomain(uint16 argc, uint16 *argv) {
 
 void RivenExternal::xblabopenbook(uint16 argc, uint16 *argv) {
 	// Get the variable
-	uint32 page = *_vm->getVar("blabbook");
+	uint32 page = *_vm->getVar("blabpage");
 
 	// Draw the image of the page based on the blabbook variable
 	_vm->_gfx->drawPLST(page);
@@ -718,7 +718,7 @@ void RivenExternal::xblabopenbook(uint16 argc, uint16 *argv) {
 
 void RivenExternal::xblabbookprevpage(uint16 argc, uint16 *argv) {
 	// Get the page variable
-	uint32 *page = _vm->getVar("blabbook");
+	uint32 *page = _vm->getVar("blabpage");
 
 	// Decrement the page if it's not the first page
 	if (*page == 1)
@@ -735,7 +735,7 @@ void RivenExternal::xblabbookprevpage(uint16 argc, uint16 *argv) {
 
 void RivenExternal::xblabbooknextpage(uint16 argc, uint16 *argv) {
 	// Get the page variable
-	uint32 *page = _vm->getVar("blabbook");
+	uint32 *page = _vm->getVar("blabpage");
 
 	// Increment the page if it's not the last page
 	if (*page == 22)






More information about the Scummvm-git-logs mailing list