]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Forgot one switchweapon
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Fri, 18 Nov 2011 13:43:10 +0000 (15:43 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Fri, 18 Nov 2011 13:43:10 +0000 (15:43 +0200)
data/qcsrc/server/cl_weaponsystem.qc

index 58d96ec4db87260dfea17fa628ce4b2cc2141761..e90c78e08ac99eeeeb45b23dc647eee4a90a5171 100644 (file)
@@ -1623,7 +1623,7 @@ void W_DisplayDigitThink()
        string txt;\r
        if(self.team) // weapon load display\r
        {\r
-               if(self.owner.weapon_load[self.owner.switchweapon] <= 0)\r
+               if(self.owner.weapon_load[self.owner.weapon] <= 0)\r
                {\r
                        self.skin = 11; // unavailable digit\r
                        return;\r