X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Fclient.qh;h=7499ee8ddfac0e0fbbd299ab4de285b53c62ea83;hp=42d7d9560b4e92359242e19428f242d146cbff0a;hb=073cc17f87486bec59ac2b6f9c26bf1155dbd7d8;hpb=1b0decb9afb829407eae763b3053a122e2ae3de6 diff --git a/qcsrc/server/client.qh b/qcsrc/server/client.qh index 42d7d9560..7499ee8dd 100644 --- a/qcsrc/server/client.qh +++ b/qcsrc/server/client.qh @@ -113,6 +113,7 @@ 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); // networked cvars @@ -230,5 +231,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); }