hedgewars/uTeams.pas
changeset 3952 d6412423da45
parent 3935 5ca27a0e9a63
child 3966 cbec77b5f706
--- a/hedgewars/uTeams.pas	Mon Oct 11 00:08:48 2010 +0200
+++ b/hedgewars/uTeams.pas	Mon Oct 11 03:28:15 2010 +0200
@@ -225,7 +225,6 @@
 until (CurrentTeam^.Hedgehogs[CurrentTeam^.CurrHedgehog].Gear <> nil);
 
 CurrentHedgehog:= @(CurrentTeam^.Hedgehogs[CurrentTeam^.CurrHedgehog]);
-perfExt_AmmoUpdate
 end;
 
 procedure AfterSwitchHedgehog;
@@ -297,7 +296,9 @@
     if TurnTimeLeft > 0 then
         PlaySound(sndIllGetYou, CurrentTeam^.voicepack);
     ReadyTimeLeft:= 0
-    end
+    end;
+
+perfExt_NewTurnBeginning();
 end;
 
 function AddTeam(TeamColor: Longword): PTeam;