]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Make it so that crosshair rings work when spectating too
authorSamual <samual@xonotic.org>
Tue, 22 Feb 2011 06:43:00 +0000 (01:43 -0500)
committerSamual <samual@xonotic.org>
Tue, 22 Feb 2011 06:43:00 +0000 (01:43 -0500)
qcsrc/server/cl_client.qc

index 0aa1186de94fa5d803c3040724851cfc3187e996..6247aaf1f055839ed4e7e8cc2b29529467e12a5f 100644 (file)
@@ -2355,6 +2355,10 @@ void SpectateCopy(entity spectatee) {
        self.weapons = spectatee.weapons;
        self.switchweapon = spectatee.switchweapon;
        self.weapon = spectatee.weapon;
+       self.nex_charge = spectatee.nex_charge;
+       self.nex_chargepool_ammo = spectatee.nex_chargepool_ammo;
+       self.sniperrifle_bulletcounter = spectatee.sniperrifle_bulletcounter;
+       self.minelayer_mines = spectatee.minelayer_mines;
        self.punchangle = spectatee.punchangle;
        self.view_ofs = spectatee.view_ofs;
        self.v_angle = spectatee.v_angle;