hedgewars/uAmmos.pas
changeset 9660 267c0005baaf
parent 9391 2af25494f3bb
child 9717 b8b7ef99a084
--- a/hedgewars/uAmmos.pas	Wed Oct 30 15:54:29 2013 -0400
+++ b/hedgewars/uAmmos.pas	Thu Oct 31 10:46:52 2013 -0400
@@ -224,6 +224,7 @@
     CurWeapon: PAmmo;
     a: TAmmoType;
 begin
+if ammo = amNothing then exit;
 {$HINTS OFF}
 FillChar(ammos, sizeof(ammos), 0);
 {$HINTS ON}