diff options
-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)); + } }; |