STARTREK: Initialize strings in actor objects

This commit is contained in:
Matthew Stewart 2018-06-13 19:58:25 -04:00 committed by Eugene Sandulenko
parent d0033df8ea
commit 3d27a9a92c

View File

@ -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));
}
};