[Scummvm-git-logs] scummvm master -> 21042c073f09946ae737ac84e21c8d4d1e5c7a55
athrxx
noreply at scummvm.org
Sun Jul 10 00:57:22 UTC 2022
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
21042c073f SCUMM: (v1) - fix minor glitch introduced in 97fbe86
Commit: 21042c073f09946ae737ac84e21c8d4d1e5c7a55
https://github.com/scummvm/scummvm/commit/21042c073f09946ae737ac84e21c8d4d1e5c7a55
Author: athrxx (athrxx at scummvm.org)
Date: 2022-07-10T02:56:49+02:00
Commit Message:
SCUMM: (v1) - fix minor glitch introduced in 97fbe86
(old savegames should only be upgraded for DOS)
Changed paths:
engines/scumm/saveload.cpp
diff --git a/engines/scumm/saveload.cpp b/engines/scumm/saveload.cpp
index 07b574620a2..d1a4240fec4 100644
--- a/engines/scumm/saveload.cpp
+++ b/engines/scumm/saveload.cpp
@@ -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)
More information about the Scummvm-git-logs
mailing list