mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-04 15:22:53 +03:00
Fix an rpt error when players doing a bunnyhop and getting pushed to the ground by zombies
This commit is contained in:
@@ -220,7 +220,7 @@ if (_isVehicle) then {
|
|||||||
//head hit, legs, pushed from back
|
//head hit, legs, pushed from back
|
||||||
_knockdown = ["head_hit","legs"];
|
_knockdown = ["head_hit","legs"];
|
||||||
if (_wound in _knockdown) then {
|
if (_wound in _knockdown) then {
|
||||||
if (((diag_tickTime - _lastTackle) > 7) && (_speed >= 5.62)) then {
|
if (((diag_tickTime - _lastTackle) > 7) && (_speed >= 5.62) && {!((animationState player) in ["bunnyhopunarmed","bunnyhoprifle"])}) then {
|
||||||
switch true do {
|
switch true do {
|
||||||
/*
|
/*
|
||||||
//Removed for now
|
//Removed for now
|
||||||
@@ -292,7 +292,7 @@ if (_isVehicle) then {
|
|||||||
};
|
};
|
||||||
|
|
||||||
// Make player dive after making sure the zed can see you.
|
// Make player dive after making sure the zed can see you.
|
||||||
if (_movePlayer != "") then {
|
if (!isNil "_movePlayer" && {_movePlayer != ""}) then {
|
||||||
player setVariable ["lastTackle", diag_tickTime];
|
player setVariable ["lastTackle", diag_tickTime];
|
||||||
_doRE = ({isPlayer _x} count (player nearEntities ["AllVehicles",100]) > 1);
|
_doRE = ({isPlayer _x} count (player nearEntities ["AllVehicles",100]) > 1);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user