aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/gui_lok.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/kyra/gui_lok.cpp')
-rw-r--r--engines/kyra/gui_lok.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/kyra/gui_lok.cpp b/engines/kyra/gui_lok.cpp
index 5cbddd1431..b23ca82768 100644
--- a/engines/kyra/gui_lok.cpp
+++ b/engines/kyra/gui_lok.cpp
@@ -404,6 +404,8 @@ void GUI_LoK::setGUILabels() {
}
assert(offset + (_vm->gameFlags().isTalkie ? 28 : 23) < _vm->_guiStringsSize);
+ assert(offsetOptions + 27 < _vm->_guiStringsSize);
+ assert(offsetMainMenu + 19 < _vm->_guiStringsSize);
// The Legend of Kyrandia
_menu[0].menuNameString = _vm->_guiStrings[0];