From 9fa5bedc147967122cffe2c9c452033ab8358fc0 Mon Sep 17 00:00:00 2001 From: Mircea Kitsune Date: Fri, 21 Jan 2011 16:52:43 +0200 Subject: [PATCH] All weapons must be loaded the first time you get them --- qcsrc/server/cl_client.qc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/qcsrc/server/cl_client.qc b/qcsrc/server/cl_client.qc index 94417254b..d0b7a0d23 100644 --- a/qcsrc/server/cl_client.qc +++ b/qcsrc/server/cl_client.qc @@ -889,6 +889,10 @@ void PutClientInServer (void) self.nex_charge = autocvar_g_balance_nex_charge_start; } + // all weapons must be fully loaded the first time we pick them up, so set their load to maximum at respawn + self.shotgun_load = autocvar_g_balance_shotgun_reload_ammo; + self.sniperrifle_load = autocvar_g_balance_sniperrifle_reload_ammo; + if(inWarmupStage) { self.ammo_shells = warmup_start_ammo_shells; -- 2.39.2