Created by: yohjimane
Added a check to see if the shoot animation is complete before we call StopShooting
The bug was caused because StopShooting
causes immediate state switch to eIdle
. In this case, it is called just before m_dwMotionCurrTm > m_dwMotionEndTm
can evaluate to true for shooting anim in CHudItem::UpdateCL
, preventing OnAnimationEnd
from getting called.