aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJoost Peters2009-08-14 16:44:29 +0000
committerJoost Peters2009-08-14 16:44:29 +0000
commita68b033a534febe4292fa8197a51e592d6977952 (patch)
treec5e48fb817976b0a06c26d1ffb0894881324df35 /engines
parent6fae9bc3f44a8579fbf08a885ac7db517868ee02 (diff)
downloadscummvm-rg350-a68b033a534febe4292fa8197a51e592d6977952.tar.gz
scummvm-rg350-a68b033a534febe4292fa8197a51e592d6977952.tar.bz2
scummvm-rg350-a68b033a534febe4292fa8197a51e592d6977952.zip
Fix incorrect memset() call (reported by Peter Bortas).
svn-id: r43375
Diffstat (limited to 'engines')
-rw-r--r--engines/tinsel/scene.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tinsel/scene.cpp b/engines/tinsel/scene.cpp
index 0b563376f8..a9ad9617c0 100644
--- a/engines/tinsel/scene.cpp
+++ b/engines/tinsel/scene.cpp
@@ -132,7 +132,7 @@ const SCENE_STRUC *GetSceneStruc(const byte *pStruc) {
// Copy appropriate fields into tempStruc, and return a pointer to it
const byte *p = pStruc;
- memset(&tempStruc, sizeof(SCENE_STRUC), 0);
+ memset(&tempStruc, 0, sizeof(SCENE_STRUC));
tempStruc.numEntrance = READ_UINT32(p); p += sizeof(uint32);
tempStruc.numPoly = READ_UINT32(p); p += sizeof(uint32);