X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fcl_client.qh;h=b4c125c6bac84f93aad5bedb1a63ed83eb231c7f;hb=0366770c97e88ade7118695647279773a8548b8f;hp=213a02945905db6e2ff65ab856cc236e3807ad74;hpb=6f37a8f8076a572097afb13de2c367a72717c927;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/cl_client.qh b/qcsrc/server/cl_client.qh index 213a02945..b4c125c6b 100644 --- a/qcsrc/server/cl_client.qh +++ b/qcsrc/server/cl_client.qh @@ -8,6 +8,7 @@ float CalcRotRegen(float current, float regenstable, float regenfactor, float re float Spectate(entity pl); -void CTS_ClientKill (entity e); +#define SPECTATE_COPY() [[accumulate]] void SpectateCopy(entity this, entity spectatee) +#define SPECTATE_COPYFIELD(fld) SPECTATE_COPY() { this.(fld) = spectatee.(fld); } #endif