]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix bumblebee using the same field for owner and attack type
authorMario <mario@smbclan.net>
Wed, 8 Feb 2017 14:28:33 +0000 (00:28 +1000)
committerMario <mario@smbclan.net>
Wed, 8 Feb 2017 14:28:33 +0000 (00:28 +1000)
qcsrc/common/vehicles/vehicle/bumblebee_weapons.qc

index 9cb8b74c2b5ed03c8b1b083c26f7640dfb614e3e..889ca471593f4930741e4816a2267d07e6b7231e 100644 (file)
@@ -60,9 +60,9 @@ NET_HANDLE(ENT_CLIENT_BUMBLE_RAYGUN, bool isnew)
     {
         this.cnt  = ReadByte();
         this.team = ReadByte();
-        this.cnt  = ReadByte();
+        this.count  = ReadByte();
 
-        if(this.cnt)
+        if(this.count)
             this.colormod = '1 0 0';
         else
             this.colormod = '0 1 0';