| 186 | } |
| 187 | |
| 188 | void __stdcall ActionCallback(IKinematics* tpKinematics) |
| 189 | { |
| 190 | // sounds |
| 191 | CScriptEntity* l_tpScriptMonster = smart_cast<CScriptEntity*>((CGameObject*)(tpKinematics->GetUpdateCallbackParam())); |
| 192 | VERIFY(l_tpScriptMonster); |
| 193 | if (!l_tpScriptMonster->GetCurrentAction()) |
| 194 | return; |
| 195 | l_tpScriptMonster->vfUpdateSounds(); |
| 196 | l_tpScriptMonster->vfUpdateParticles(); |
| 197 | } |
| 198 | |
| 199 | void CScriptEntity::vfUpdateParticles() |
| 200 | { |
nothing calls this directly
no test coverage detected