]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix shotgun ammo field
authorterencehill <piuntn@gmail.com>
Thu, 29 Dec 2016 01:56:28 +0000 (02:56 +0100)
committerterencehill <piuntn@gmail.com>
Thu, 29 Dec 2016 01:56:28 +0000 (02:56 +0100)
qcsrc/common/weapons/weapon/shotgun.qc

index 9ae0c6069ab7b748b8f63a8c4c147891533ec8cf..d45cf31cb3bf957ac556d8356d152ead0a2bf382 100644 (file)
@@ -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))
 {