aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJohannes Schickel2009-09-20 16:56:44 +0000
committerJohannes Schickel2009-09-20 16:56:44 +0000
commita9f1063ae1942475516b7e200142728bfd8026e9 (patch)
tree5e799637ba63f6d77899d1a1e986098e78bcc0f7 /engines
parentaf553f33fab1dfc40a5bf361a75b7fb50d2880bd (diff)
downloadscummvm-rg350-a9f1063ae1942475516b7e200142728bfd8026e9.tar.gz
scummvm-rg350-a9f1063ae1942475516b7e200142728bfd8026e9.tar.bz2
scummvm-rg350-a9f1063ae1942475516b7e200142728bfd8026e9.zip
Some more paranoia asserts.
svn-id: r44217
Diffstat (limited to 'engines')
-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];