aboutsummaryrefslogtreecommitdiff
path: root/engines/lab
diff options
context:
space:
mode:
authorFilippos Karapetis2015-12-23 23:01:17 +0200
committerFilippos Karapetis2015-12-23 23:01:17 +0200
commit9d7a2f4e7f044bbde1c25d0853211820553130c3 (patch)
tree0f1bd67a6efac402c333d70859af7f7ff6852d8a /engines/lab
parent70ec11d260d2adcfaaaa12d19213a6f705dde773 (diff)
downloadscummvm-rg350-9d7a2f4e7f044bbde1c25d0853211820553130c3.tar.gz
scummvm-rg350-9d7a2f4e7f044bbde1c25d0853211820553130c3.tar.bz2
scummvm-rg350-9d7a2f4e7f044bbde1c25d0853211820553130c3.zip
LAB: Fix usage of drawMessage() with empty messages
Diffstat (limited to 'engines/lab')
-rw-r--r--engines/lab/engine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/lab/engine.cpp b/engines/lab/engine.cpp
index 0b6ac9cc3e..3167222ae0 100644
--- a/engines/lab/engine.cpp
+++ b/engines/lab/engine.cpp
@@ -305,7 +305,7 @@ bool LabEngine::doUse(uint16 curInv) {
_closeDataPtr = nullptr;
doMap(_roomNum);
_graphics->setPalette(initColors, 8);
- _graphics->drawMessage(nullptr, false);
+ _graphics->drawMessage("", false);
_graphics->drawPanel();
return true;
case kItemJournal:
@@ -316,7 +316,7 @@ bool LabEngine::doUse(uint16 curInv) {
_closeDataPtr = nullptr;
doJournal();
_graphics->drawPanel();
- _graphics->drawMessage(nullptr, false);
+ _graphics->drawMessage("", false);
return true;
case kItemLamp:
interfaceOff();