]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix bots with sv_gameplayfix_blowupfallenzombies 0.
authorRudolf Polzer <divVerent@xonotic.org>
Tue, 29 Mar 2016 18:31:05 +0000 (14:31 -0400)
committerRudolf Polzer <divVerent@xonotic.org>
Tue, 29 Mar 2016 18:31:05 +0000 (14:31 -0400)
qcsrc/server/bot/waypoints.qc

index 184710818c1aac266a32e620695cd97fbbd66b1f..225ae859754952e1ca5b6e411bb6ca61d2f84084 100644 (file)
@@ -32,6 +32,7 @@ entity waypoint_spawn(vector m1, vector m2, float f)
        w = new(waypoint);
        w.dphitcontentsmask = DPCONTENTS_SOLID | DPCONTENTS_BODY | DPCONTENTS_PLAYERCLIP | DPCONTENTS_BOTCLIP;
        w.wpflags = f;
+       w.solid = SOLID_TRIGGER;
        setorigin(w, (m1 + m2) * 0.5);
        setsize(w, m1 - w.origin, m2 - w.origin);
        if (vlen(w.size) > 0)