Remove old bullet_counter, left from the Nexuiz weapons
[voretournament/voretournament.git] / data / qcsrc / server / cl_weaponsystem.qc
index dfe547657b964cd614f3ee6cb15ca347fcf47c3a..3430c1a961ad6d0f4f656728756f064cfafcc01e 100644 (file)
@@ -971,7 +971,6 @@ void weapon_setup(float windex)
        // the two weapon entities will notice this has changed and update their models\r
        self.weapon = windex;\r
        self.weaponname = e.mdl;\r
-       self.bulletcounter = 0;\r
 };\r
 \r
 // perform weapon to attack (weaponstate and attack_finished check is here)\r
@@ -1028,7 +1027,6 @@ float weapon_prepareattack(float secondary, float attacktime)
                }\r
                ATTACK_FINISHED(self) = ATTACK_FINISHED(self) + attacktime * W_WeaponRateFactor();\r
        }\r
-       self.bulletcounter += 1;\r
        //dprint("attack finished ", ftos(ATTACK_FINISHED(self)), "\n");\r
        return TRUE;\r
 };\r