X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fdefs.qh;h=679a1b445b019aadc29bdc713730910a617084ee;hb=98496b8f7cbb74f30232f5c52bb38158623bb597;hp=f084e18d4b0b69f6a92b5009321e419e583145c5;hpb=3e038ba4b415bb32cd6242b9cd31e05ca4e03031;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/defs.qh b/qcsrc/server/defs.qh index f084e18d4..679a1b445 100644 --- a/qcsrc/server/defs.qh +++ b/qcsrc/server/defs.qh @@ -221,6 +221,9 @@ float WS_DROP = 2; // deselecting frame float WS_INUSE = 3; // fire state float WS_READY = 4; // idle frame +// there is 2 weapon tics that can run in one server frame +#define W_TICSPERFRAME 2 + void weapon_defaultspawnfunc(float wpn); string w_deathtypestring; @@ -294,6 +297,7 @@ string getTimeoutText(float addOneSecond); .entity flagcarried; .entity lastrocket; +.entity lastmine; .float playerid; float playerid_last;