mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Tweak overheating (#4969)
* Tweak overheating * Add define for constant magic num
This commit is contained in:
@ -18,4 +18,4 @@ params ["_array", "_value"];
|
||||
private _min = _array select floor _value;
|
||||
private _max = _array select ceil _value;
|
||||
|
||||
_min + (_max - _min) * (_value % 1) // return
|
||||
linearConversion [0, 1, _value % 1, _min, _max] // return
|
||||
|
Reference in New Issue
Block a user