diff options
author | Matthew Stewart | 2018-06-13 19:58:25 -0400 |
---|---|---|
committer | Eugene Sandulenko | 2018-08-09 08:37:30 +0200 |
commit | 3d27a9a92cc7bcf88f58aa8f4b2639573bb5e697 (patch) | |
tree | b2a811a9687e39d779bc3e35ddb54d922946f905 | |
parent | d0033df8ea3148160c0e96f7d33067ce843a9371 (diff) | |
download | scummvm-rg350-3d27a9a92cc7bcf88f58aa8f4b2639573bb5e697.tar.gz scummvm-rg350-3d27a9a92cc7bcf88f58aa8f4b2639573bb5e697.tar.bz2 scummvm-rg350-3d27a9a92cc7bcf88f58aa8f4b2639573bb5e697.zip |
STARTREK: Initialize strings in actor objects
-rw-r--r-- | engines/startrek/object.h | 7 |
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)); + } }; |