diff options
author | aap <aap@papnet.eu> | 2020-05-10 18:14:14 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-05-10 18:14:14 +0200 |
commit | d9a8bab63131ccbd46420c9950fcaaad95e248aa (patch) | |
tree | b3017e250ccbaf225106244221a9b3ee425c77bf /src/modelinfo | |
parent | Merge pull request #532 from Nick007J/miami (diff) | |
download | re3-d9a8bab63131ccbd46420c9950fcaaad95e248aa.tar re3-d9a8bab63131ccbd46420c9950fcaaad95e248aa.tar.gz re3-d9a8bab63131ccbd46420c9950fcaaad95e248aa.tar.bz2 re3-d9a8bab63131ccbd46420c9950fcaaad95e248aa.tar.lz re3-d9a8bab63131ccbd46420c9950fcaaad95e248aa.tar.xz re3-d9a8bab63131ccbd46420c9950fcaaad95e248aa.tar.zst re3-d9a8bab63131ccbd46420c9950fcaaad95e248aa.zip |
Diffstat (limited to 'src/modelinfo')
-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; |