aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMatthew Hoops2011-02-14 10:34:18 -0500
committerMatthew Hoops2011-02-14 10:34:18 -0500
commite0430e6e9e3c08167d48df9540f61843c3faac80 (patch)
tree9e812bd18133fb6a8ec83fe1882e88cde12cd3b0 /engines
parent898f7d12447946d4f6b7801218fc4ce4adbd8ec4 (diff)
downloadscummvm-rg350-e0430e6e9e3c08167d48df9540f61843c3faac80.tar.gz
scummvm-rg350-e0430e6e9e3c08167d48df9540f61843c3faac80.tar.bz2
scummvm-rg350-e0430e6e9e3c08167d48df9540f61843c3faac80.zip
MOHAWK: Correct the variable used for the lab book in Riven
Diffstat (limited to 'engines')
-rw-r--r--engines/mohawk/riven_external.cpp6
1 files 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)