diff options
author | aap <aap@papnet.eu> | 2020-05-10 17:09:57 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-05-10 17:09:57 +0200 |
commit | 5b605c127144ab805581f62015ef3742c1d4a64e (patch) | |
tree | f86a422d080f58afcaa5eac7cf2b378bdf306142 /src/modelinfo/PedModelInfo.h | |
parent | Small unification (diff) | |
download | re3-5b605c127144ab805581f62015ef3742c1d4a64e.tar re3-5b605c127144ab805581f62015ef3742c1d4a64e.tar.gz re3-5b605c127144ab805581f62015ef3742c1d4a64e.tar.bz2 re3-5b605c127144ab805581f62015ef3742c1d4a64e.tar.lz re3-5b605c127144ab805581f62015ef3742c1d4a64e.tar.xz re3-5b605c127144ab805581f62015ef3742c1d4a64e.tar.zst re3-5b605c127144ab805581f62015ef3742c1d4a64e.zip |
Diffstat (limited to 'src/modelinfo/PedModelInfo.h')
-rw-r--r-- | src/modelinfo/PedModelInfo.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modelinfo/PedModelInfo.h b/src/modelinfo/PedModelInfo.h index a2bfd122..75f43be3 100644 --- a/src/modelinfo/PedModelInfo.h +++ b/src/modelinfo/PedModelInfo.h @@ -36,7 +36,8 @@ public: static RwObjectNameIdAssocation m_pPedIds[PED_NODE_MAX]; - CPedModelInfo(void) : CClumpModelInfo(MITYPE_PED) { } + CPedModelInfo(void) : CClumpModelInfo(MITYPE_PED) { m_hitColModel = nil; } + ~CPedModelInfo(void) { delete m_hitColModel; } void DeleteRwObject(void); void SetClump(RpClump *); |