mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Preserve z axis on map transport
This commit is contained in:
parent
005b2ad406
commit
21942eb5a1
@ -317,8 +317,8 @@ switch (toLower _mode) do {
|
||||
|
||||
if (GVAR(camMode == 0) && (_button == 0) && _ctrl) then {
|
||||
_newPos = _map ctrlMapScreenToWorld [_x,_y];
|
||||
_newPos set [2, 20];
|
||||
GVAR(camera) setPosATL _newPos;
|
||||
_newPos set [2, GVAR(camPos) select 2];
|
||||
GVAR(camPos) = _newPos;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user