aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2007-12-24 19:49:28 +0000
committerEugene Sandulenko2007-12-24 19:49:28 +0000
commit6b722c2f1c2dd328e02808a5a8b2eee0b58034f0 (patch)
tree1858befc06aeaa50a86560abf036ec5ad06d537e /engines
parentfd22ebb2692d97a0b9fbf673fbf9a46fe175080e (diff)
downloadscummvm-rg350-6b722c2f1c2dd328e02808a5a8b2eee0b58034f0.tar.gz
scummvm-rg350-6b722c2f1c2dd328e02808a5a8b2eee0b58034f0.tar.bz2
scummvm-rg350-6b722c2f1c2dd328e02808a5a8b2eee0b58034f0.zip
_Properly_ fix lock-up introduced introduced in revision 29860. A typical
c/p error. svn-id: r29982
Diffstat (limited to 'engines')
-rw-r--r--engines/cine/cine.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/cine/cine.cpp b/engines/cine/cine.cpp
index 4c89bbbe1e..9c7caa6562 100644
--- a/engines/cine/cine.cpp
+++ b/engines/cine/cine.cpp
@@ -128,11 +128,11 @@ void CineEngine::initialize() {
loadErrmessDat("errmess.dat");
}
- memset(objectTable, 0, ARRAYSIZE(objectTable));
- memset(globalVars, 0, ARRAYSIZE(globalVars));
- memset(scriptTable, 0, ARRAYSIZE(scriptTable));
- memset(messageTable, 0, ARRAYSIZE(scriptTable));
- memset(relTable, 0, ARRAYSIZE(scriptTable));
+ memset(objectTable, 0, sizeof(objectTable));
+ memset(globalVars, 0, sizeof(globalVars));
+ memset(scriptTable, 0, sizeof(scriptTable));
+ memset(messageTable, 0, sizeof(messageTable));
+ memset(relTable, 0, sizeof(relTable));
for (int i = 0; i < NUM_MAX_ANIMDATA; i++) {
animDataTable[i].ptr1 = animDataTable[i].ptr2 = NULL;