Merge pull request #272 from KoffeinFlummi/142menudeploy

1.42 - cursor mode when bipod deployed
This commit is contained in:
Nicolás Badano 2015-03-30 17:26:18 -03:00
commit a7f1e58dcf

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: