Skip to content

Commit

Permalink
Fix stance UI
Browse files Browse the repository at this point in the history
  • Loading branch information
jonpas committed May 20, 2016
1 parent fc6d8b2 commit 8763738
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions addons/common/RscInfoType.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,8 @@ class RscInGameUI {
class RscStaminaBar {
onLoad = QUOTE([ARR_4(""onLoad"",_this,""RscStaminaBar"",'IGUI')] call (uinamespace getvariable 'BIS_fnc_initDisplay'); uiNamespace setVariable [ARR_2(QUOTE(QGVAR(dlgStaminaBar)),_this select 0)]);
};

class RscStanceInfo {
onLoad = QUOTE([ARR_4(""onLoad"",_this,""RscStanceInfo"",'IGUI')] call (uinamespace getvariable 'BIS_fnc_initDisplay'); [ARR_2('infoDisplayChanged', [ARR_2(_this select 0, 'Stance')])] call FUNC(localEvent););
};
};
4 changes: 2 additions & 2 deletions addons/ui/ACE_Settings.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class ACE_Settings {
displayName = CSTRING(AmmoCount);
description = CSTRING(RequiresSoldierVehicleWeaponInfo);
typeName = "BOOL";
value = 0;
value = 1;
isClientSettable = 1;
};
class GVAR(magCount) {
Expand Down Expand Up @@ -122,7 +122,7 @@ class ACE_Settings {
};
class GVAR(weaponLowerInfoBackground) {
category = CSTRING(Category);
displayName = CSTRING(WeaponLowerInfoBackground); //todo
displayName = CSTRING(WeaponLowerInfoBackground);
description = CSTRING(RequiresSoldierVehicleWeaponInfo);
typeName = "BOOL";
value = 1;
Expand Down
2 changes: 1 addition & 1 deletion addons/ui/CfgVehicles.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class CfgVehicles {
displayName = CSTRING(AmmoCount);
description = CSTRING(RequiresSoldierVehicleWeaponInfo);
typeName = "BOOL";
defaultValue = 0;
defaultValue = 1;
};
class magCount {
displayName = CSTRING(MagCount);
Expand Down

0 comments on commit 8763738

Please sign in to comment.