X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Ftriggers%2Ftriggers.qh;h=58897200283029dfc056fa4dc4a868e342667b42;hb=48d21b537ad85a66c05076afde4c33615da868b7;hp=2b8274f4b890aa473b5432de2415bb1719e925a1;hpb=c039d054a46888048d214000273ccfc63e4611b6;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/triggers/triggers.qh b/qcsrc/common/triggers/triggers.qh index 2b8274f4b..588972002 100644 --- a/qcsrc/common/triggers/triggers.qh +++ b/qcsrc/common/triggers/triggers.qh @@ -1,11 +1,5 @@ #pragma once - -const float SF_TRIGGER_INIT = 1; -const float SF_TRIGGER_UPDATE = 2; -const float SF_TRIGGER_RESET = 4; - -const float SPAWNFLAG_NOMESSAGE = 1; -const float SPAWNFLAG_NOTOUCH = 1; +#include "spawnflags.qh" .bool pushable; @@ -14,8 +8,7 @@ const float SPAWNFLAG_NOTOUCH = 1; .float height; -.float nottargeted; -#define IFTARGETED if(!this.nottargeted && this.targetname != "") +#define IFTARGETED if(this.targetname && this.targetname != "") .float lip;