]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/bot/default/havocbot/havocbot.qc
Merge branch 'Mario/strength_stat_field' into 'master'
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / bot / default / havocbot / havocbot.qc
index db56478f87eadd33a7c63ba318d575b8e5d80215..f5587d69dc87176b980b38080ecdbc4ecef26772 100644 (file)
@@ -48,7 +48,7 @@ void havocbot_ai(entity this)
                else
                {
                        if (!this.jumppadcount && !STAT(FROZEN, this)
-                               && !(this.goalcurrent_prev && (this.goalcurrent_prev.wpflags & WAYPOINTFLAG_JUMP)))
+                               && !(this.goalcurrent_prev && (this.goalcurrent_prev.wpflags & WAYPOINTFLAG_JUMP) && !IS_ONGROUND(this)))
                        {
                                // find a new goal
                                this.havocbot_role(this); // little too far down the rabbit hole