aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/saveload.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/scumm/saveload.cpp b/scumm/saveload.cpp
index 282308c3e8..e5bcf73a7d 100644
--- a/scumm/saveload.cpp
+++ b/scumm/saveload.cpp
@@ -956,8 +956,12 @@ void ScummEngine::saveOrLoad(Serializer *s) {
// Before V61, we re-used the _haveMsg flag to handle "alternative" speech
// sound files (see charset code 10).
if (s->isLoading() && s->getVersion() < VER(61)) {
- _haveActorSpeechMsg = (_haveMsg != 0xFE);
- _haveMsg = 0xFF;
+ if (_haveMsg == 0xFE) {
+ _haveActorSpeechMsg = false;
+ _haveMsg = 0xFF;
+ } else {
+ _haveActorSpeechMsg = true;
+ }
}
//