diff options
author | bigbossbro08 <bigbossbro08@gmail.com> | 2020-05-10 18:05:45 +0200 |
---|---|---|
committer | bigbossbro08 <bigbossbro08@gmail.com> | 2020-05-10 18:05:45 +0200 |
commit | bd302ecca157982a2bfe83d6cfb3167418fd8bb3 (patch) | |
tree | b9d849f3fc61246f0038e5bec53ef8f61b040b83 /src/modelinfo/PedModelInfo.h | |
parent | fixed few more typos (diff) | |
parent | some fixes and cosmetic changes (diff) | |
download | re3-bd302ecca157982a2bfe83d6cfb3167418fd8bb3.tar re3-bd302ecca157982a2bfe83d6cfb3167418fd8bb3.tar.gz re3-bd302ecca157982a2bfe83d6cfb3167418fd8bb3.tar.bz2 re3-bd302ecca157982a2bfe83d6cfb3167418fd8bb3.tar.lz re3-bd302ecca157982a2bfe83d6cfb3167418fd8bb3.tar.xz re3-bd302ecca157982a2bfe83d6cfb3167418fd8bb3.tar.zst re3-bd302ecca157982a2bfe83d6cfb3167418fd8bb3.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 84ada087..52f75894 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 *); |