mirror of
https://github.com/td512/re3.git
synced 2026-03-09 19:21:32 +00:00
fix head/hand atomics
This commit is contained in:
@@ -21,16 +21,19 @@ CPedModelInfo::DeleteRwObject(void)
|
||||
frame = RpAtomicGetFrame(m_head);
|
||||
RpAtomicDestroy(m_head);
|
||||
RwFrameDestroy(frame);
|
||||
m_head = nil;
|
||||
}
|
||||
if(m_lhand){
|
||||
frame = RpAtomicGetFrame(m_lhand);
|
||||
RpAtomicDestroy(m_lhand);
|
||||
RwFrameDestroy(frame);
|
||||
m_lhand = nil;
|
||||
}
|
||||
if(m_rhand){
|
||||
frame = RpAtomicGetFrame(m_rhand);
|
||||
RpAtomicDestroy(m_rhand);
|
||||
RwFrameDestroy(frame);
|
||||
m_rhand = nil;
|
||||
}
|
||||
#endif
|
||||
CClumpModelInfo::DeleteRwObject(); // PC calls this first
|
||||
|
||||
Reference in New Issue
Block a user