mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-07 04:10:01 +00:00
Fix 3 bugs
* Footsteps doesn't play while sprinting * Player doesn't kick ped in ground at first time * Looking around with numpad is problematic Signed-off-by: eray orçunus <erayorcunus@gmail.com>
This commit is contained in:
parent
15da9beff1
commit
b8862cf59c
3 changed files with 6 additions and 6 deletions
|
@ -249,7 +249,7 @@ CheckForPedsOnGroundToAttack(CPlayerPed *player, CPed **pedOnGround)
|
|||
foundDead = 1;
|
||||
if (!deadPed)
|
||||
deadPed = (CPed*)currentPed;
|
||||
} else if (currentPed->IsPedHeadAbovePos(-0.6f)) {
|
||||
} else if (!currentPed->IsPedHeadAbovePos(-0.6f)) {
|
||||
foundOnTheFloor = 1;
|
||||
if (!pedOnTheFloor)
|
||||
pedOnTheFloor = (CPed*)currentPed;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue