SCUMM: (v1) - fix minor glitch introduced in 97fbe86

(old savegames should only be upgraded for DOS)
This commit is contained in:
athrxx 2022-07-10 02:52:15 +02:00
parent d7f9e3601e
commit 21042c073f

View file

@ -1568,9 +1568,8 @@ void ScummEngine_v2::saveLoadWithSerializer(Common::Serializer &s) {
s.syncAsByte(_flashlight.xStrips, VER(99));
s.syncAsByte(_flashlight.yStrips, VER(99));
// Old saves are based on a diffenrent color mapping, so the verb
// colors need to be adjusted.
if (s.getVersion() < VER(106) && s.isLoading()) {
// Old saves are based on a different color mapping, so the verb colors need to be adjusted.
if (s.getVersion() < VER(106) && s.isLoading() && _game.platform == Common::kPlatformDOS) {
initV2MouseOver();
for (int i = 0; i < _numVerbs; ++i) {
if (!_verbs[i].verbid)