MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / ClearRestrictors

Method ClearRestrictors

ogsr_engine/xrGame/PHActorCharacter.cpp:110–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108 inherited::Destroy();
109}
110void CPHActorCharacter::ClearRestrictors()
111{
112 RESTRICTOR_I i = begin(m_restrictors), e = end(m_restrictors);
113 for (; e != i; ++i)
114 {
115 (*i)->Destroy();
116 xr_delete(*i);
117 }
118 m_restrictors.clear();
119}
120void SPHCharacterRestrictor::Destroy()
121{
122 if (m_restrictor)

Callers

nothing calls this directly

Calls 5

xr_deleteFunction · 0.85
beginFunction · 0.50
endFunction · 0.50
DestroyMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected