X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=qcsrc%2Fclient%2FDefs.qc;h=b89a177f043a465c99c5fc7812a8b0d1eb83f3c3;hb=e0ac5f9f14e169a1e19d0e36b85cab061a74ed93;hp=e4519b2b3d93fef8061208aaf78ec95c1d2b1773;hpb=7b976c2b363a9f5b8d17373c7ef290aa0c498372;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/client/Defs.qc b/qcsrc/client/Defs.qc index e4519b2b3..b89a177f0 100644 --- a/qcsrc/client/Defs.qc +++ b/qcsrc/client/Defs.qc @@ -1,6 +1,3 @@ -#pragma flag off fastarrays // make dp behave with new fteqcc versions. remove when dp bug with fteqcc fastarrays is fixed - - //NOTE: THIS IS AN INTERFACE FILE. DO NOT EDIT. //MODIFYING THIS FILE CAN RESULT IN CRC ERRORS. //YOU HAVE BEEN WARNED. @@ -251,7 +248,6 @@ vector angles_held; .float silent; float w_deathtype, w_issilent, w_random; -string w_deathtypestring; vector w_org, w_backoff; float rifle_scope; @@ -272,4 +268,8 @@ float serverflags; float uid2name_dialog; -.float csqcmodel_isdead; // used by shownames and miscfunctions (float getplayerisdead(float) {}) to know when a player is dead \ No newline at end of file +.float csqcmodel_isdead; // used by shownames and miscfunctions (float getplayerisdead(float) {}) to know when a player is dead + +#define player_currententnum (spectatee_status > 0 ? spectatee_status : player_localnum + 1) + +float g_balance_porto_secondary;