diff options
Diffstat (limited to '')
-rw-r--r-- | src/modelinfo/VehicleModelInfo.cpp | 1 | ||||
-rw-r--r-- | src/modelinfo/VehicleModelInfo.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/modelinfo/VehicleModelInfo.cpp b/src/modelinfo/VehicleModelInfo.cpp index e050bab1..121e7baf 100644 --- a/src/modelinfo/VehicleModelInfo.cpp +++ b/src/modelinfo/VehicleModelInfo.cpp @@ -162,6 +162,7 @@ CVehicleModelInfo::CVehicleModelInfo(void) m_positions[i].z = 0.0f; } m_numColours = 0; + m_animFileIndex = -1; } void diff --git a/src/modelinfo/VehicleModelInfo.h b/src/modelinfo/VehicleModelInfo.h index b0525a0a..e71c9a77 100644 --- a/src/modelinfo/VehicleModelInfo.h +++ b/src/modelinfo/VehicleModelInfo.h @@ -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; |