From: terencehill Date: Thu, 29 Dec 2016 01:56:28 +0000 (+0100) Subject: Fix shotgun ammo field X-Git-Tag: xonotic-v0.8.2~347 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=deafac153144404a737025eb09843495f8f1f0d2;p=xonotic%2Fxonotic-data.pk3dir.git Fix shotgun ammo field --- diff --git a/qcsrc/common/weapons/weapon/shotgun.qc b/qcsrc/common/weapons/weapon/shotgun.qc index 9ae0c6069..d45cf31cb 100644 --- a/qcsrc/common/weapons/weapon/shotgun.qc +++ b/qcsrc/common/weapons/weapon/shotgun.qc @@ -283,7 +283,7 @@ METHOD(Shotgun, wr_think, void(entity thiswep, entity actor, .entity weaponentit } METHOD(Shotgun, wr_setup, void(entity thiswep, entity actor)) { - actor.ammo_field = ammo_none; + actor.ammo_field = ammo_shells; } METHOD(Shotgun, wr_checkammo1, bool(entity thiswep, entity actor)) {