diff --git a/code/MDCFileData.h b/code/MDCFileData.h index 158000518..ba5789e0f 100644 --- a/code/MDCFileData.h +++ b/code/MDCFileData.h @@ -117,6 +117,21 @@ struct Surface uint32_t ulOffsetFrameCompFrames ; uint32_t ulOffsetEnd; Surface() + : ulIdent(), + ulFlags(), + ulNumCompFrames(), + ulNumBaseFrames(), + ulNumShaders(), + ulNumVertices(), + ulNumTriangles(), + ulOffsetTriangles(), + ulOffsetShaders(), + ulOffsetTexCoords(), + ulOffsetBaseVerts(), + ulOffsetCompVerts(), + ulOffsetFrameBaseFrames(), + ulOffsetFrameCompFrames(), + ulOffsetEnd() { ucName[AI_MDC_MAXQPATH-1] = '\0'; }