| 108 | inherited::Destroy(); |
| 109 | } |
| 110 | void 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 | } |
| 120 | void SPHCharacterRestrictor::Destroy() |
| 121 | { |
| 122 | if (m_restrictor) |