X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fclient.qc;h=399d11d63e63185d50053634bf99d55b0c5b2aae;hb=50b66c57de75be33297b4760718c2a8977c5ccbc;hp=adfa40aeb6050de44535abf2368ba6dfe901f2ef;hpb=592256dcbdd52ee36778295ce0be2c5a568f6fc6;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/client.qc b/qcsrc/server/client.qc index adfa40aeb..399d11d63 100644 --- a/qcsrc/server/client.qc +++ b/qcsrc/server/client.qc @@ -61,6 +61,8 @@ #include "../lib/warpzone/server.qh" +#include + STATIC_METHOD(Client, Add, void(Client this, int _team)) { ClientConnect(this); @@ -1758,6 +1760,8 @@ void SpectateCopy(entity this, entity spectatee) this.weapons = spectatee.weapons; this.vortex_charge = spectatee.vortex_charge; this.vortex_chargepool_ammo = spectatee.vortex_chargepool_ammo; + this.okvortex_charge = spectatee.okvortex_charge; + this.okvortex_chargepool_ammo = spectatee.okvortex_chargepool_ammo; this.hagar_load = spectatee.hagar_load; this.arc_heat_percent = spectatee.arc_heat_percent; this.minelayer_mines = spectatee.minelayer_mines;