hedgewars/uTeams.pas
changeset 6924 57b66ee3bff3
parent 6913 73984ea24ff5
child 6954 a61458a81480
--- a/hedgewars/uTeams.pas	Tue Apr 24 23:33:39 2012 +0400
+++ b/hedgewars/uTeams.pas	Tue Apr 24 23:50:40 2012 +0400
@@ -228,7 +228,7 @@
 
 inc(CurrentTeam^.Clan^.TurnNumber);
 
-CurWeapon:= GetAmmoEntry(CurrentHedgehog^);
+CurWeapon:= GetCurAmmoEntry(CurrentHedgehog^);
 if CurWeapon^.Count = 0 then
     CurrentHedgehog^.CurAmmoType:= amNothing;