mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fixed #1796 sitting above ground level
This commit is contained in:
parent
19c16b1f59
commit
34dea7d971
@ -37,7 +37,8 @@ _sitRotation = if (isNumber (_configFile >> QGVAR(sitRotation))) then {getNumber
|
||||
|
||||
// Set direction and position
|
||||
_player setDir _sitDirection;
|
||||
_player setPosASL (_seat modelToWorld _sitPosition) call EFUNC(common,positionToASL);
|
||||
// Can NOT use ASL/ATL as modelToWorld returns absolute world position
|
||||
_player setPos (_seat modelToWorld _sitPosition);
|
||||
|
||||
// Set variables
|
||||
_player setVariable [QGVAR(isSitting), true];
|
||||
|
Loading…
Reference in New Issue
Block a user