aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorathrxx2011-12-27 23:59:16 +0100
committerathrxx2011-12-28 00:01:30 +0100
commit99b14c5dbc9414b46afffabafb4be9c9c4c51fd1 (patch)
treebd8630629184ff904bfa30e3a2d6ea87ba2b804d
parenta35550d200a9e19894571758afe992185c6c6176 (diff)
downloadscummvm-rg350-99b14c5dbc9414b46afffabafb4be9c9c4c51fd1.tar.gz
scummvm-rg350-99b14c5dbc9414b46afffabafb4be9c9c4c51fd1.tar.bz2
scummvm-rg350-99b14c5dbc9414b46afffabafb4be9c9c4c51fd1.zip
KYRA: (EOB) - fix spell book tab 5 in EOB1
-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];