mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
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:
parent
1e4db5573e
commit
a8c4297c7d
@ -124,7 +124,7 @@ if !(_debugBox isEqualTo "") then {
|
||||
};
|
||||
|
||||
if !(_useWorldPos) then {
|
||||
_pos1 = _debug modelToWorld _pos1;
|
||||
_pos1 = asltoatl (_debug modeltoworldworld _pos1);
|
||||
};
|
||||
|
||||
_exitClass = _x select 2;
|
||||
|
Loading…
Reference in New Issue
Block a user