X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fclient.qc;h=2e2116c3496a40e1cafdf39e97918ef79f3b4569;hb=2b58aea4138b82cd34f025835393a47f0619e56f;hp=d7b9a7ae0e7d6305ef86a5994b2b3e09f2edef80;hpb=6652322125210ed3a2d97fbb7512caab8efdce3c;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/client.qc b/qcsrc/server/client.qc index d7b9a7ae0..2e2116c34 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); @@ -1756,6 +1758,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;