SCUMM: (FM-Towns) - fix graphics glitch

In certain situations a string rect could get restored twice, e. g. LOOM, dragon's lair, when double clicking the gold pile and then pressing Esc.
This commit is contained in:
athrxx 2021-02-28 01:05:44 +01:00
parent 65f567d817
commit 80f79d21c9

View file

@ -661,7 +661,7 @@ void ScummEngine::CHARSET_1() {
memcpy(_charsetColorMap, _charsetData[_charset->getCurID()], 4);
#ifndef DISABLE_TOWNS_DUAL_LAYER_MODE
if (_keepText && _game.platform == Common::kPlatformFMTowns)
if (_game.platform == Common::kPlatformFMTowns && (_keepText || _haveMsg == 0xFF))
memcpy(&_charset->_str, &_curStringRect, sizeof(Common::Rect));
#endif