Commit 6a2f0257 authored by terencehill's avatar terencehill

Don't allow bots to move towards a dropped weapon until it's on the ground

parent d43e2580
Pipeline #5586433 failed with stage
in 12 minutes and 56 seconds
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment