]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/mutators/gamemode_domination.qc
Merge branch 'master' into Mario/classname_checks
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / mutators / gamemode_domination.qc
index 98b9b40dd857c5052395bd0d7b09e8d8bfb7a0df..4a3b3b818e597b20bbd29231af5760683888f02e 100644 (file)
@@ -182,7 +182,7 @@ void dompointthink()
 void dompointtouch()
 {
        entity head;
-       if (other.classname != "player")
+       if not(IS_PLAYER(other))
                return;
        if (other.health < 1)
                return;