Fix teleporter pos if debug is above Water

modeltoworld returns "swimming" values above water (dependent on waves).
using modeltoworldworld fix it
This commit is contained in:
He-Man 2017-09-22 21:23:56 +02:00 committed by GitHub
parent 1e4db5573e
commit a8c4297c7d

View File

@ -124,7 +124,7 @@ if !(_debugBox isEqualTo "") then {
}; };
if !(_useWorldPos) then { if !(_useWorldPos) then {
_pos1 = _debug modelToWorld _pos1; _pos1 = asltoatl (_debug modeltoworldworld _pos1);
}; };
_exitClass = _x select 2; _exitClass = _x select 2;