From 8c439af8cc44764e7a41ca3101e6bff54f34a76b Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sun, 29 Sep 2019 23:44:00 +0300 Subject: SCI32: Fix typo in kGlobalVarHoyle5ResponseTime --- engines/sci/engine/guest_additions.cpp | 2 +- engines/sci/engine/vm.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'engines') 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 */ -- cgit v1.2.3