]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/bot/default/navigation.qc
Fix compilation broken by the previous merge commit
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / bot / default / navigation.qc
index 3754897bda3fe5ff2554409d318933ad3e11e38a..e491a327dc6754890471f2dbd2a16fe8cbde5565 100644 (file)
@@ -1598,7 +1598,7 @@ int navigation_poptouchedgoals(entity this)
                        if (this.jumppadcount && !boxesoverlap(this.goalcurrent.absmin, this.goalcurrent.absmax,
                                this.lastteleport_origin + STAT(PL_MIN, this), this.lastteleport_origin + STAT(PL_MAX, this)))
                        {
-                               return;
+                               return removed_goals;
                        }
 
                        if(this.aistatus & AI_STATUS_WAYPOINT_PERSONAL_GOING)