Sanitizer fixes

This commit is contained in:
erorcun
2021-06-30 03:31:10 +03:00
parent 7df71c9673
commit 70fa7fc239
3 changed files with 9 additions and 9 deletions

View File

@@ -1044,7 +1044,7 @@ CPed::StartFightDefend(uint8 direction, uint8 hitLevel, uint8 unk)
if (IsPlayer())
moveAssoc->speed = 1.3f;
m_takeAStepAfterAttack = 0;
m_takeAStepAfterAttack = false;
m_fightButtonPressure = 0;
} else if (IsPlayer() && m_currentWeapon != WEAPONTYPE_UNARMED) {
CAnimBlendAssociation *moveAssoc = CAnimManager::BlendAnimation(GetClump(), ASSOCGRP_STD, tFightMoves[m_curFightMove].animId, 4.0f);