PRIVATE: some palette fixes when the games is paused/unpaused

This commit is contained in:
neuromancer 2021-10-30 18:10:22 +02:00
parent a14662a5ef
commit b9f84d4410
3 changed files with 20 additions and 9 deletions

View file

@ -513,12 +513,7 @@ static void fTransition(ArgArray args) {
static void fResume(ArgArray args) {
assert(args[0].type == NUM);
debugC(1, kPrivateDebugScript, "Resume(%d)", args[0].u.val); // this value is always 1
g_private->_nextSetting = g_private->_pausedSetting;
g_private->_pausedSetting = "";
g_private->_mode = 1;
g_private->_origin = Common::Point(kOriginOne[0], kOriginOne[1]);
if (g_private->_videoDecoder)
g_private->_videoDecoder->pauseVideo(false);
g_private->resumeGame();
}
static void fMovie(ArgArray args) {