From 9d7a2f4e7f044bbde1c25d0853211820553130c3 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Wed, 23 Dec 2015 23:01:17 +0200 Subject: LAB: Fix usage of drawMessage() with empty messages --- engines/lab/engine.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/lab') 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(); -- cgit v1.2.3