X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fw_hlac.qc;h=2eb2918ed6c41a138683ff19df07ee427e8ebb8e;hb=fb61c977ddeed686ef587fd54e40f55a4bdc2322;hp=0a163e2f98affc699d87da07e3ddcb69b0a8dd2d;hpb=c7a28837f2a255a7cddfa46ac986b2baacaada6b;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/w_hlac.qc b/qcsrc/server/w_hlac.qc index 0a163e2f9..2eb2918ed 100644 --- a/qcsrc/server/w_hlac.qc +++ b/qcsrc/server/w_hlac.qc @@ -19,7 +19,7 @@ void W_HLAC_Touch (void) void W_HLAC_Attack (void) { - local entity missile; + entity missile; float spread; W_DecreaseAmmo(ammo_cells, autocvar_g_balance_hlac_primary_ammo, autocvar_g_balance_hlac_reload_ammo); @@ -68,7 +68,7 @@ void W_HLAC_Attack (void) void W_HLAC_Attack2f (void) { - local entity missile; + entity missile; float spread; spread = autocvar_g_balance_hlac_secondary_spread; @@ -153,7 +153,7 @@ void HLAC_fire1_02() { weapon_thinkf(WFRAME_FIRE1, autocvar_g_balance_hlac_primary_animtime, w_ready); } -}; +} void spawnfunc_weapon_hlac (void) { @@ -219,7 +219,7 @@ float w_hlac(float req) W_Reload(min(autocvar_g_balance_hlac_primary_ammo, autocvar_g_balance_hlac_secondary_ammo), autocvar_g_balance_hlac_reload_ammo, autocvar_g_balance_hlac_reload_time, "weapons/reload.wav"); } return TRUE; -}; +} #endif #ifdef CSQC float w_hlac(float req) @@ -239,7 +239,7 @@ float w_hlac(float req) else if (req == WR_SUICIDEMESSAGE) w_deathtypestring = _("%s should have used a smaller gun"); else if (req == WR_KILLMESSAGE) - w_deathtypestring = _("%s was cut down by %s"); + w_deathtypestring = _("%s was cut down with a HLAC by %s"); return TRUE; } #endif