aboutsummaryrefslogtreecommitdiff
path: root/kyra/kyra.cpp
diff options
context:
space:
mode:
authorGregory Montoir2004-11-10 18:45:32 +0000
committerGregory Montoir2004-11-10 18:45:32 +0000
commitc50560a48813ba237878af4f47854bd3bc8751b3 (patch)
tree8af2f79fa84415c1928dd499c249180bf47e1614 /kyra/kyra.cpp
parent507d02d8d224a91fadec6914136c657a56e945fe (diff)
downloadscummvm-rg350-c50560a48813ba237878af4f47854bd3bc8751b3.tar.gz
scummvm-rg350-c50560a48813ba237878af4f47854bd3bc8751b3.tar.bz2
scummvm-rg350-c50560a48813ba237878af4f47854bd3bc8751b3.zip
Clean up a bit the script stuff. In particular, resized the command pointers array, as it seems that none of kyrandia games have more than 0x13 command opcodes (checked kyra2 and kyra3).
svn-id: r15782
Diffstat (limited to 'kyra/kyra.cpp')
-rw-r--r--kyra/kyra.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kyra/kyra.cpp b/kyra/kyra.cpp
index 04304324fa..c5248e5a00 100644
--- a/kyra/kyra.cpp
+++ b/kyra/kyra.cpp
@@ -123,7 +123,7 @@ KyraEngine::KyraEngine(GameDetector *detector, OSystem *syst)
KyraEngine::~KyraEngine() {
delete _resMgr;
- delete _screen;
+ delete[] _screen;
delete _mouse;
delete _items;
delete _npcScript;