aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2015-11-17 18:50:48 +0100
committerWillem Jan Palenstijn2015-12-23 21:33:41 +0100
commitad29493fa73cf40d3ba94fc5d58183ac355b4144 (patch)
tree03a147703e55aaa9951da065221091d4830b07de
parentebff05e7e74cb10161c345c1b8532a5a2f417001 (diff)
downloadscummvm-rg350-ad29493fa73cf40d3ba94fc5d58183ac355b4144.tar.gz
scummvm-rg350-ad29493fa73cf40d3ba94fc5d58183ac355b4144.tar.bz2
scummvm-rg350-ad29493fa73cf40d3ba94fc5d58183ac355b4144.zip
LAB: Fix compilation
-rw-r--r--engines/lab/engine.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/lab/engine.cpp b/engines/lab/engine.cpp
index 967bcf4e75..c93509a481 100644
--- a/engines/lab/engine.cpp
+++ b/engines/lab/engine.cpp
@@ -244,7 +244,7 @@ bool setUpScreens() {
buffer = MovePanelBuffer;
for (counter = 0; counter < 20; counter++)
- readImage(buffer, &(MoveImages[counter]));
+ readImage(&buffer, &(MoveImages[counter]));
/* Creates the gadgets for the movement control panel */
y = VGAScaleY(173) - SVGACord(2);
@@ -305,7 +305,7 @@ bool setUpScreens() {
if (g_lab->getPlatform() == Common::kPlatformWindows) {
for (counter = 0; counter < 10; counter++)
- readImage(buffer, &(InvImages[counter]));
+ readImage(&buffer, &(InvImages[counter]));
InvGadgetList = createButton(24, y, 0, 'm', InvImages[0], InvImages[1]);
curgad = InvGadgetList;
@@ -325,7 +325,7 @@ bool setUpScreens() {
curgad = curgad->NextGadget;
} else {
for (counter = 0; counter < 6; counter++)
- readImage(buffer, &(InvImages[counter]));
+ readImage(&buffer, &(InvImages[counter]));
InvGadgetList = createButton(58, y, 0, 0, InvImages[0], InvImages[1]);
curgad = InvGadgetList;
@@ -814,7 +814,7 @@ from_crumbs:
Class = MOUSEBUTTONS;
Qualifier = IEQUALIFIER_LEFTBUTTON;
mouseXY(&MouseX, &MouseY);
- } else if (g_lab->getPlatform() == Common::kPlatformWindows &&
+ } else if (g_lab->getPlatform() == Common::kPlatformWindows &&
(Code == 'b' || Code == 'B')) { /* Start bread crumbs */
BreadCrumbs[0].RoomNum = 0;
NumCrumbs = 0;