]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
check for string_null
authorMartin Taibr <taibr.martin@gmail.com>
Sun, 25 Feb 2018 19:49:05 +0000 (20:49 +0100)
committerMartin Taibr <taibr.martin@gmail.com>
Sun, 25 Feb 2018 19:49:05 +0000 (20:49 +0100)
qcsrc/common/triggers/triggers.qh

index 49e3cb5efde4b76fbc46399f814115a74da85325..49cd7be7c252bc74cc106a436c71034bc5dd8843 100644 (file)
@@ -14,7 +14,7 @@ const float   SPAWNFLAG_NOTOUCH = 1;
 
 .float height;
 
-#define IFTARGETED if(this.targetname != "")
+#define IFTARGETED if(this.targetname && this.targetname != "")
 
 .float lip;