]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/triggers/func/door.qc
s/world/NULL/
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / triggers / func / door.qc
index 86d7cb2974f997f9a0a9bdd9a83133b0e04847eb..f32a8d75ded3ac456e217e5af07c07a22c1c27e1 100644 (file)
@@ -520,7 +520,7 @@ void LinkDoors(entity this)
        {
                LOG_TRACE(" ", etos(t));
                t.owner = this;
-               if(t.enemy == world)
+               if(t.enemy == NULL)
                {
                        t.enemy = this;
                        break;