Merge pull request #5800 from acemod/fixClimbingOnWater

Movement - Fix climbing when over water
This commit is contained in:
commy2 2017-11-21 20:09:41 +01:00 committed by GitHub
commit a3a0d238b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,4 +24,5 @@ private _pos = _unit modelToWorldVisual (_unit selectionPosition "camera");
_pos = _pos vectorDiff (_unit selectionPosition "camera");
_unit setPos _pos;
_unit setPosASL (AGLtoASL _pos);
TRACE_2("",AGLtoASL _pos,getPosASL _unit);