X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Fweapons%2Fthrowing.qc;h=30b700098d4a056d150ba589ce39d57b1376ff99;hp=c06b90ec2d98434d3940cb075b235baffb7451a2;hb=451e02a2857d8c671f6dcf6a0639ea7c609b3ba9;hpb=79eebf87e68861e205a8754d6551bd0aa2229c44 diff --git a/qcsrc/server/weapons/throwing.qc b/qcsrc/server/weapons/throwing.qc index c06b90ec2..30b700098 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) @@ -45,7 +48,7 @@ string W_ThrowNewWeapon(entity own, float wpn, float doreduce, vector org, vecto wep.owner = wep.enemy = own; wep.flags |= FL_TOSSED; wep.colormap = own.colormap; - wep.glowmod = weaponentity_glowmod(info, own.clientcolors); + wep.glowmod = weaponentity_glowmod(info, own, own.clientcolors); W_DropEvent(wr_drop,own,wpn,wep);