aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2019-09-29 23:44:00 +0300
committerFilippos Karapetis2019-09-29 23:44:00 +0300
commit8c439af8cc44764e7a41ca3101e6bff54f34a76b (patch)
treeab03bb2316be64d482a36cc61f332c25ea3b014d /engines
parent13337e0f2e1342ed61ae0d33fcde8b51af40271e (diff)
downloadscummvm-rg350-8c439af8cc44764e7a41ca3101e6bff54f34a76b.tar.gz
scummvm-rg350-8c439af8cc44764e7a41ca3101e6bff54f34a76b.tar.bz2
scummvm-rg350-8c439af8cc44764e7a41ca3101e6bff54f34a76b.zip
SCI32: Fix typo in kGlobalVarHoyle5ResponseTime
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/engine/guest_additions.cpp2
-rw-r--r--engines/sci/engine/vm.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/guest_additions.cpp b/engines/sci/engine/guest_additions.cpp
index 581cbbf4e1..8cf8c0505a 100644
--- a/engines/sci/engine/guest_additions.cpp
+++ b/engines/sci/engine/guest_additions.cpp
@@ -168,7 +168,7 @@ void GuestAdditions::writeVarHook(const int type, const int index, const reg_t v
syncGK1StartupVolumeFromScummVM(index, value);
} else if (g_sci->getGameId() == GID_HOYLE5 && index == kGlobalVarHoyle5MusicVolume) {
syncHoyle5VolumeFromScummVM((ConfMan.getInt("music_volume") + 1) * kHoyle5VolumeMax / Audio::Mixer::kMaxMixerVolume);
- } else if (g_sci->getGameId() == GID_HOYLE5 && index == kkGlobalVarHoyle5ResponseTime && value.getOffset() == 0) {
+ } else if (g_sci->getGameId() == GID_HOYLE5 && index == kGlobalVarHoyle5ResponseTime && value.getOffset() == 0) {
// WORKAROUND: Global 899 contains the response time value,
// which may have values between 1 and 15. There is a script
// bug when loading values from game.opt, where this variable
diff --git a/engines/sci/engine/vm.h b/engines/sci/engine/vm.h
index f6a4077810..c80070409b 100644
--- a/engines/sci/engine/vm.h
+++ b/engines/sci/engine/vm.h
@@ -180,7 +180,7 @@ enum GlobalVar {
kGlobalVarShivers1Score = 349,
kGlobalVarQFG4Flags = 500,
kGlobalVarHoyle5MusicVolume = 897,
- kkGlobalVarHoyle5ResponseTime = 899
+ kGlobalVarHoyle5ResponseTime = 899
};
/** Number of kernel calls in between gcs; should be < 50000 */