| 800 | } |
| 801 | |
| 802 | bool NpcAnimationHandler::isSubStateAnimationPlaying() |
| 803 | { |
| 804 | if(isAnimationActive(buildSubStateAnimationNameBasedOnWeapon(getWalkModeTag(m_WalkMode) + "TURNL"))) |
| 805 | return true; |
| 806 | |
| 807 | if(isAnimationActive(buildSubStateAnimationNameBasedOnWeapon(getWalkModeTag(m_WalkMode) + "TURNR"))) |
| 808 | return true; |
| 809 | |
| 810 | if(isAnimationActive(buildSubStateAnimationNameBasedOnWeapon(getWalkModeTag(m_WalkMode) + "STRAFEL"))) |
| 811 | return true; |
| 812 | |
| 813 | if(isAnimationActive(buildSubStateAnimationNameBasedOnWeapon(getWalkModeTag(m_WalkMode) + "STRAFER"))) |
| 814 | return true; |
| 815 | |
| 816 | if(isAnimationActive("T_JUMPB")) |
| 817 | return true; |
| 818 | |
| 819 | return false; |
| 820 | } |
| 821 | |
| 822 | bool NpcAnimationHandler::isFightAnimationPlaying() |
| 823 | { |
nothing calls this directly
no outgoing calls
no test coverage detected