X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Fclient.qh;h=72732037fdb91e75afb2b483353c7c5e6366dbd3;hp=42d7d9560b4e92359242e19428f242d146cbff0a;hb=bc50c2d7ca3e0a44ed1712400ef8e170e6df8210;hpb=d6bf8f685fd35f882e456bdbadc37617ac6bd53a diff --git a/qcsrc/server/client.qh b/qcsrc/server/client.qh index 42d7d9560b..72732037fd 100644 --- a/qcsrc/server/client.qh +++ b/qcsrc/server/client.qh @@ -113,6 +113,8 @@ CLASS(Client, Object) ATTRIB(Client, cmd_floodcount, int, this.cmd_floodcount); ATTRIB(Client, cmd_floodtime, float, this.cmd_floodtime); ATTRIB(Client, wasplayer, bool, this.wasplayer); + ATTRIB(Client, weaponorder_byimpulse, string, this.weaponorder_byimpulse); + ATTRIB(Client, autojoin_checked, bool, this.wasplayer); // networked cvars @@ -230,5 +232,5 @@ float CalcRotRegen(float current, float regenstable, float regenfactor, float re bool Spectate(entity this, entity pl); -#define SPECTATE_COPY() [[accumulate]] void SpectateCopy(entity this, entity spectatee) +#define SPECTATE_COPY() ACCUMULATE void SpectateCopy(entity this, entity spectatee) #define SPECTATE_COPYFIELD(fld) SPECTATE_COPY() { this.(fld) = spectatee.(fld); }