Renamed canShow function to fit the rest of the functions

This commit is contained in:
ulteq 2015-04-10 15:09:18 +02:00
parent f003ff590e
commit c7db3dbffe
3 changed files with 5 additions and 4 deletions

View File

@ -5,11 +5,12 @@ class CfgVehicles {
class ACE_Equipment {
class GVAR(open) {
displayName = "$STR_ACE_ATragMX_OpenATragMXDialog";
condition = QUOTE(call FUNC(canShow));
condition = QUOTE(call FUNC(can_show));
statement = QUOTE(call FUNC(create_dialog));
showDisabled = 0;
priority = 2;
icon = PATHTOF(UI\ATRAG_Icon.paa);
exceptions[] = {"notOnMap", "isNotInside"};
};
};
};

View File

@ -9,7 +9,7 @@ PREP(calculate_solution);
PREP(calculate_target_range_assist);
PREP(calculate_target_solution);
PREP(calculate_target_speed_assist);
PREP(canShow);
PREP(can_show);
PREP(change_gun);
PREP(create_dialog);
PREP(cycle_range_card_columns);

View File

@ -6,10 +6,10 @@
* Nothing
*
* Return Value:
* canShow (bool)
* can_show (bool)
*
* Example:
* call ace_atragmx_fnc_canShow
* call ace_atragmx_fnc_can_show
*
* Public: No
*/