--- 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;