aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/kyra/gui_eob.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/kyra/gui_eob.cpp b/engines/kyra/gui_eob.cpp
index 512c13a977..a378fe1ea5 100644
--- a/engines/kyra/gui_eob.cpp
+++ b/engines/kyra/gui_eob.cpp
@@ -708,8 +708,8 @@ void EoBCoreEngine::gui_initButton(int index, int, int, int) {
if (_flags.gameID == GI_EOB1) {
// EOB1 spellbook modifications
if (index > 60 && index < 66) {
- d = &_buttonDefs[index + 33];
- b->buttonCallback = _buttonCallbacks[index + 33];
+ d = &_buttonDefs[index + 34];
+ b->buttonCallback = _buttonCallbacks[index + 34];
} else if (index == 88) {
d = &_buttonDefs[index + 12];
b->buttonCallback = _buttonCallbacks[index + 12];