X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fcommon%2Fvehicles%2Fvehicle%2Fbumblebee_weapons.qc;h=fa05c6a6f12dbd46343c941148c46b4c14db0366;hp=9cb8b74c2b5ed03c8b1b083c26f7640dfb614e3e;hb=9e8ea75b9aacffc5cfa18c8852c4dd9ffdbd3192;hpb=87cbf00c7734cf2910502c217b5c5157511ba5ea diff --git a/qcsrc/common/vehicles/vehicle/bumblebee_weapons.qc b/qcsrc/common/vehicles/vehicle/bumblebee_weapons.qc index 9cb8b74c2..fa05c6a6f 100644 --- a/qcsrc/common/vehicles/vehicle/bumblebee_weapons.qc +++ b/qcsrc/common/vehicles/vehicle/bumblebee_weapons.qc @@ -1,7 +1,5 @@ #include "bumblebee_weapons.qh" -#ifdef IMPLEMENTATION - REGISTER_NET_LINKED(ENT_CLIENT_BUMBLE_RAYGUN) #ifdef SVQC @@ -60,9 +58,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'; @@ -132,5 +130,3 @@ void bumble_raygun_draw(entity this) } #endif - -#endif