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

Method StopShooting

ogsr_engine/xrGame/WeaponFire.cpp:80–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80void CWeapon::StopShooting()
81{
82 // m_bPending = true;
83
84 //принудительно останавливать зацикленные партиклы
85 if (m_pFlameParticles && m_pFlameParticles->IsLooped())
86 StopFlameParticles();
87
88 if (!dont_interrupt_shot_anm)
89 SwitchState(eIdle);
90
91 bWorking = false;
92 // if(IsWorking()) FireEnd();
93}
94
95void CWeapon::FireEnd()
96{

Callers

nothing calls this directly

Calls 1

IsLoopedMethod · 0.45

Tested by

no test coverage detected