--- a/hedgewars/uGears.pas Thu Nov 11 00:38:12 2010 +0100
+++ b/hedgewars/uGears.pas Thu Nov 11 09:58:10 2010 -0500
@@ -1748,7 +1748,7 @@
dec(t, Ammoz[i].Probability)
end;
FollowGear^.Pos:= posCaseAmmo;
- FollowGear^.State:= Longword(i);
+ FollowGear^.AmmoType:= i;
AddCaption(GetEventString(eidNewAmmoPack), cWhiteColor, capgrpAmmoInfo);
end
end
@@ -1767,7 +1767,7 @@
dec(t, Ammoz[i].Probability)
end;
FollowGear^.Pos:= posCaseUtility;
- FollowGear^.State:= Longword(i);
+ FollowGear^.AmmoType:= i;
AddCaption(GetEventString(eidNewUtilityPack), cWhiteColor, capgrpAmmoInfo);
end
end;