# HG changeset patch # User nemo # Date 1289487585 18000 # Node ID eda0a8e2325f6233d251fb29fccb7f6246b6fde5 # Parent 6f1631765ebd311c8a54310d006e314f1b9780b0 Forgot burp's new ammo routine diff -r 6f1631765ebd -r eda0a8e2325f hedgewars/uGears.pas --- a/hedgewars/uGears.pas Thu Nov 11 09:58:10 2010 -0500 +++ b/hedgewars/uGears.pas Thu Nov 11 09:59:45 2010 -0500 @@ -1675,12 +1675,12 @@ end; AmmoCrate: begin FollowGear^.Pos := posCaseAmmo; - FollowGear^.State := content; + FollowGear^.AmmoType := content; AddCaption(GetEventString(eidNewAmmoPack), cWhiteColor, capgrpAmmoInfo); end; UtilityCrate: begin FollowGear^.Pos := posCaseUtility; - FollowGear^.State := content; + FollowGear^.AmmoType := content; AddCaption(GetEventString(eidNewUtilityPack), cWhiteColor, capgrpAmmoInfo); end; end;