From fd775be377bf2fa4914cb621bd2dcf1cbe6ede58 Mon Sep 17 00:00:00 2001 From: Bendegúz Nagy Date: Tue, 9 Aug 2016 08:40:29 +0200 Subject: DM: Swap warnings to stub method f363_highlightBoxDisable --- engines/dm/dm.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'engines/dm/dm.cpp') diff --git a/engines/dm/dm.cpp b/engines/dm/dm.cpp index 9ae9249489..33bd033c5b 100644 --- a/engines/dm/dm.cpp +++ b/engines/dm/dm.cpp @@ -395,7 +395,7 @@ void DMEngine::f2_gameloop() { _eventMan->f77_hideMouse(); } } - // F0363_COMMAND_HighlightBoxDisable(); + _eventMan->f363_highlightBoxDisable(); f65_playPendingSound(); _championMan->f320_applyAndDrawPendingDamageAndWounds(); if (_championMan->_g303_partyDead) @@ -440,9 +440,9 @@ void DMEngine::f2_gameloop() { if (_engineShouldQuit) return; _displayMan->updateScreen(); - // if (!_g321_stopWaitingForPlayerInput) { - // F0363_COMMAND_HighlightBoxDisable(); - // } + if (!_g321_stopWaitingForPlayerInput) { + _eventMan->f363_highlightBoxDisable(); + } _system->delayMillis(2); if (++vblankCounter >= _g318_waitForInputMaxVerticalBlankCount * 5) @@ -537,7 +537,7 @@ void DMEngine::f444_endGame(bool doNotDrawCreditsOnly) { f064_SOUND_RequestPlay_CPSD(k06_soundSCREAM, _dungeonMan->_g306_partyMapX, _dungeonMan->_g307_partyMapY, k0_soundModePlayImmediately); f22_delay(240); } - + if (_displayMan->_g322_paletteSwitchingEnabled) { uint16 oldPalTopAndBottomScreen[16]; for (uint16 i = 0; i < 16; ++i) -- cgit v1.2.3