From e0430e6e9e3c08167d48df9540f61843c3faac80 Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Mon, 14 Feb 2011 10:34:18 -0500 Subject: MOHAWK: Correct the variable used for the lab book in Riven --- engines/mohawk/riven_external.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/engines/mohawk/riven_external.cpp b/engines/mohawk/riven_external.cpp index a82af4614b..7da5515411 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) -- cgit v1.2.3