From: Mircea Kitsune Date: Sat, 22 Jan 2011 17:51:28 +0000 (+0200) Subject: SpectateCopy the clip load and clip size, to see the ammo of player we're spectating X-Git-Tag: xonotic-v0.5.0~309^2~7^2~101 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9bb2f9ddfff7e84529d48177cc1b22904c3378b5;p=xonotic%2Fxonotic-data.pk3dir.git SpectateCopy the clip load and clip size, to see the ammo of player we're spectating --- diff --git a/qcsrc/server/cl_client.qc b/qcsrc/server/cl_client.qc index e943c94a4..7916e27a3 100644 --- a/qcsrc/server/cl_client.qc +++ b/qcsrc/server/cl_client.qc @@ -2355,6 +2355,8 @@ void SpectateCopy(entity spectatee) { self.ammo_nails = spectatee.ammo_nails; self.ammo_rockets = spectatee.ammo_rockets; self.ammo_fuel = spectatee.ammo_fuel; + self.clip_load = spectatee.clip_load; + self.clip_size = spectatee.clip_size; self.effects = spectatee.effects & EFMASK_CHEAP; // eat performance self.health = spectatee.health; self.impulse = 0;