update file loader for new VC fields

This commit is contained in:
aap
2020-05-10 18:14:14 +02:00
parent c07727eed0
commit d9a8bab631
7 changed files with 42 additions and 5 deletions

View File

@ -162,6 +162,7 @@ CVehicleModelInfo::CVehicleModelInfo(void)
m_positions[i].z = 0.0f;
}
m_numColours = 0;
m_animFileIndex = -1;
}
void

View File

@ -68,6 +68,7 @@ public:
uint8 m_currentColour1;
uint8 m_currentColour2;
RpAtomic *m_comps[6];
// This is stupid, CClumpModelInfo already has it!
union {
int32 m_animFileIndex;
char *m_animFileName;