Only requiver pickup_thrown ammo and throwing weapons

This commit is contained in:
Pasi Kallinen
2016-01-06 04:58:37 +02:00
parent 6b559d06f0
commit 4aeb2913cf
3 changed files with 4 additions and 3 deletions

View File

@@ -479,7 +479,8 @@ struct obj *obj;
obj->where = OBJ_INVENT;
/* fill empty quiver if obj was thrown */
if (flags.pickup_thrown && !uquiver && obj_was_thrown)
if (flags.pickup_thrown && !uquiver && obj_was_thrown
&& (throwing_weapon(obj) || is_ammo(obj)))
setuqwep(obj);
added:
addinv_core2(obj);