mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
fixed #996
we now limit the speed factor to (18 max run speed) for thirst and hunger, this will fix issue with getting hungry while too fast while driving or flying.
This commit is contained in:
@@ -20,7 +20,7 @@ while {true} do {
|
||||
_inVehicle = (_refObj != player);
|
||||
// _size = (sizeOf typeOf _refObj) * _factor;
|
||||
_vel = velocity player;
|
||||
_speed = round((_vel distance [0,0,0]) * 3.5);
|
||||
_speed = (round((_vel distance [0,0,0]) * 3.5)) min 18;
|
||||
|
||||
// dayz_areaAffect = _size;
|
||||
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user