From: Mario Date: Wed, 8 Feb 2017 14:28:33 +0000 (+1000) Subject: Fix bumblebee using the same field for owner and attack type X-Git-Tag: xonotic-v0.8.2~239 X-Git-Url: https://de.git.xonotic.org/?a=commitdiff_plain;h=ca4508ec23fd84e3e62aeeb165b756cd734daa59;p=xonotic%2Fxonotic-data.pk3dir.git Fix bumblebee using the same field for owner and attack type --- diff --git a/qcsrc/common/vehicles/vehicle/bumblebee_weapons.qc b/qcsrc/common/vehicles/vehicle/bumblebee_weapons.qc index 9cb8b74c2..889ca4715 100644 --- a/qcsrc/common/vehicles/vehicle/bumblebee_weapons.qc +++ b/qcsrc/common/vehicles/vehicle/bumblebee_weapons.qc @@ -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';