Permalink
Browse files

STARTREK: Initialize strings in actor objects

  • Loading branch information...
Drenn1 authored and sev- committed Jun 13, 2018
1 parent d0033df commit 3d27a9a92cc7bcf88f58aa8f4b2639573bb5e697
Showing with 6 additions and 1 deletion.
  1. +6 −1 engines/startrek/object.h
@@ -164,7 +164,12 @@ struct Actor {
fielda2(),
fielda4(),
fielda6()
{}
{
memset(animFilename, 0, sizeof(animFilename));
memset(bitmapFilename, 0, sizeof(bitmapFilename));
memset(animationString2, 0, sizeof(animationString2));
memset(animationString, 0, sizeof(animationString));
}

};

0 comments on commit 3d27a9a

Please sign in to comment.