start_health = cvar("g_balance_health_start");\r
start_armorvalue = cvar("g_balance_armor_start");\r
\r
- if (g_lms || g_ca)\r
+ if (g_lms)\r
{\r
start_ammo_fuel = cvar("g_lms_start_ammo_fuel");\r
start_health = cvar("g_lms_start_health");\r
warmup_start_armorvalue = start_armorvalue;\r
warmup_start_weapons = start_weapons;\r
\r
- if (!g_ca)\r
+ if (cvar("g_use_ammunition"))\r
{\r
- if (cvar("g_use_ammunition"))\r
- {\r
- warmup_start_ammo_fuel = cvar("g_warmup_start_ammo_fuel");\r
- }\r
- warmup_start_health = cvar("g_warmup_start_health");\r
- warmup_start_armorvalue = cvar("g_warmup_start_armor");\r
- warmup_start_weapons = 0;\r
- for (i = WEP_FIRST; i <= WEP_LAST; ++i)\r
+ warmup_start_ammo_fuel = cvar("g_warmup_start_ammo_fuel");\r
+ }\r
+ warmup_start_health = cvar("g_warmup_start_health");\r
+ warmup_start_armorvalue = cvar("g_warmup_start_armor");\r
+ warmup_start_weapons = 0;\r
+ for (i = WEP_FIRST; i <= WEP_LAST; ++i)\r
+ {\r
+ e = get_weaponinfo(i);\r
+ if(want_weapon("g_start_weapon_", e, cvar("g_warmup_allguns")))\r
{\r
- e = get_weaponinfo(i);\r
- if(want_weapon("g_start_weapon_", e, cvar("g_warmup_allguns")))\r
- {\r
- warmup_start_weapons |= e.weapons;\r
- weapon_action(e.weapon, WR_PRECACHE);\r
- }\r
+ warmup_start_weapons |= e.weapons;\r
+ weapon_action(e.weapon, WR_PRECACHE);\r
}\r
}\r
}\r