From: Martin Taibr Date: Sun, 25 Feb 2018 19:49:05 +0000 (+0100) Subject: check for string_null X-Git-Tag: xonotic-v0.8.5~2246^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d23e104e243c51e3aa777b9dd9bf8a959ab7ae34;p=xonotic%2Fxonotic-data.pk3dir.git check for string_null --- diff --git a/qcsrc/common/triggers/triggers.qh b/qcsrc/common/triggers/triggers.qh index 49e3cb5ef..49cd7be7c 100644 --- a/qcsrc/common/triggers/triggers.qh +++ b/qcsrc/common/triggers/triggers.qh @@ -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;