aboutsummaryrefslogtreecommitdiff
path: root/engines/dm
diff options
context:
space:
mode:
authorBendegúz Nagy2016-07-29 15:17:39 +0200
committerBendegúz Nagy2016-08-26 23:02:22 +0200
commit6bbd68199c002fb4a9532f1e87ac182b2d9b386f (patch)
tree70c3b759f42bb503ebd15ded0f340433c72d9648 /engines/dm
parent6e9fbffce30763f52c9634c5217ea96788904f6e (diff)
downloadscummvm-rg350-6bbd68199c002fb4a9532f1e87ac182b2d9b386f.tar.gz
scummvm-rg350-6bbd68199c002fb4a9532f1e87ac182b2d9b386f.tar.bz2
scummvm-rg350-6bbd68199c002fb4a9532f1e87ac182b2d9b386f.zip
DM: Add missing call to f379_drawSleepScreen, fix bytewidth bug in f379_drawSleepScreen
Diffstat (limited to 'engines/dm')
-rw-r--r--engines/dm/eventman.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/dm/eventman.cpp b/engines/dm/eventman.cpp
index 16bfe4d3f9..b30292ed44 100644
--- a/engines/dm/eventman.cpp
+++ b/engines/dm/eventman.cpp
@@ -748,7 +748,7 @@ void EventManager::f380_processCommandQueue() {
}
_vm->_menuMan->f456_drawDisabledMenu();
_vm->_championMan->_g300_partyIsSleeping = true;
- warning(false, "MISSING CODE: F0379_COMMAND_DrawSleepScreen();");
+ f379_drawSleepScreen();
_vm->_displayMan->f97_drawViewport(k2_viewportAsBeforeSleepOrFreezeGame);
_vm->_g318_waitForInputMaxVerticalBlankCount = 0;
_vm->_eventMan->_g441_primaryMouseInput = g450_PrimaryMouseInput_PartySleeping;
@@ -1297,7 +1297,7 @@ bool EventManager::f360_hasPendingClick(Common::Point& point, MouseButton button
}
void EventManager::f379_drawSleepScreen() {
- _vm->_displayMan->f134_fillBitmap(_vm->_displayMan->_g296_bitmapViewport, k0_ColorBlack, 224, 136); // TODO: localization
+ _vm->_displayMan->f134_fillBitmap(_vm->_displayMan->_g296_bitmapViewport, k0_ColorBlack, 112, 136); // TODO: localization
}
void EventManager::f357_discardAllInput() {