aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMatthew Stewart2018-06-13 19:58:25 -0400
committerEugene Sandulenko2018-08-09 08:37:30 +0200
commit3d27a9a92cc7bcf88f58aa8f4b2639573bb5e697 (patch)
treeb2a811a9687e39d779bc3e35ddb54d922946f905 /engines
parentd0033df8ea3148160c0e96f7d33067ce843a9371 (diff)
downloadscummvm-rg350-3d27a9a92cc7bcf88f58aa8f4b2639573bb5e697.tar.gz
scummvm-rg350-3d27a9a92cc7bcf88f58aa8f4b2639573bb5e697.tar.bz2
scummvm-rg350-3d27a9a92cc7bcf88f58aa8f4b2639573bb5e697.zip
STARTREK: Initialize strings in actor objects
Diffstat (limited to 'engines')
-rw-r--r--engines/startrek/object.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/startrek/object.h b/engines/startrek/object.h
index 92597881ec..18e2145175 100644
--- a/engines/startrek/object.h
+++ b/engines/startrek/object.h
@@ -164,7 +164,12 @@ public:
fielda2(),
fielda4(),
fielda6()
- {}
+ {
+ memset(animFilename, 0, sizeof(animFilename));
+ memset(bitmapFilename, 0, sizeof(bitmapFilename));
+ memset(animationString2, 0, sizeof(animationString2));
+ memset(animationString, 0, sizeof(animationString));
+ }
};