Merge pull request #277 from KoffeinFlummi/revert-276-revert-272-142menudeploy

Revert "Revert "1.42 - cursor mode when bipod deployed""
This commit is contained in:
PabstMirror 2015-04-08 13:26:05 -05:00
commit 2bc0976979

View File

@ -32,7 +32,7 @@ GVAR(openedMenuType) = _menuType;
GVAR(useCursorMenu) = (vehicle ACE_player != ACE_player) ||
visibleMap ||
(GVAR(AlwaysUseCursorSelfInteraction) && _menuType == 1);
{(_menuType == 1) && {(isWeaponDeployed ACE_player) || GVAR(AlwaysUseCursorSelfInteraction)}};
if (GVAR(useCursorMenu)) then {
createDialog QGVAR(cursorMenu);
// The dialog sets: