]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
SpectateCopy the clip load and clip size, to see the ammo of player we're spectating
authorMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 22 Jan 2011 17:51:28 +0000 (19:51 +0200)
committerMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 22 Jan 2011 17:51:28 +0000 (19:51 +0200)
qcsrc/server/cl_client.qc

index e943c94a4d82b9ea98d108f0c93e9026d7ddf8b6..7916e27a3917340002235a44d92514007202025d 100644 (file)
@@ -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;