From 6a2f0257cfc2dad39ddd1565b014dd8563e231bc Mon Sep 17 00:00:00 2001 From: terencehill Date: Thu, 29 Dec 2016 16:29:21 +0100 Subject: [PATCH] Don't allow bots to move towards a dropped weapon until it's on the ground --- qcsrc/server/weapons/throwing.qc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qcsrc/server/weapons/throwing.qc b/qcsrc/server/weapons/throwing.qc index bd69e33246..30b700098d 100644 --- a/qcsrc/server/weapons/throwing.qc +++ b/qcsrc/server/weapons/throwing.qc @@ -19,7 +19,10 @@ void thrown_wep_think(entity this) { this.SendFlags |= ISF_LOCATION; this.oldorigin = this.origin; + this.bot_pickup = false; } + else + this.bot_pickup = true; this.owner = NULL; float timeleft = this.savenextthink - time; if(timeleft > 1) -- 2.39.2