aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/script_lok.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/kyra/script_lok.cpp')
-rw-r--r--engines/kyra/script_lok.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/kyra/script_lok.cpp b/engines/kyra/script_lok.cpp
index 5eb86519a8..6d8c27fadc 100644
--- a/engines/kyra/script_lok.cpp
+++ b/engines/kyra/script_lok.cpp
@@ -1773,6 +1773,7 @@ typedef Common::Functor1Mem<EMCState*, int, KyraEngine_LoK> OpcodeV1;
void KyraEngine_LoK::setupOpcodeTable() {
Common::Array<const Opcode *> *table = 0;
+ _opcodes.reserve(157);
SetOpcodeTable(_opcodes);
// 0x00
Opcode(o1_magicInMouseItem);