hedgewars/uTeams.pas
changeset 3928 2560731c860d
parent 3890 e4b7b30232fd
child 3935 5ca27a0e9a63
--- a/hedgewars/uTeams.pas	Wed Oct 06 02:31:04 2010 +0200
+++ b/hedgewars/uTeams.pas	Thu Oct 07 02:03:01 2010 +0200
@@ -114,10 +114,10 @@
 function  CheckForWin: boolean;
 procedure TeamGone(s: shortstring);
 procedure TeamGoneEffect(var Team: TTeam);
-function GetTeamStatString(p: PTeam): shortstring;
+function  GetTeamStatString(p: PTeam): shortstring;
 
 implementation
-uses uMisc, uWorld, uLocale, uAmmos, uChat;
+uses uMisc, uWorld, uLocale, uAmmos, uChat, uMobile;
 const MaxTeamHealth: LongInt = 0;
 
 function CheckForWin: boolean;
@@ -224,7 +224,8 @@
         end
 until (CurrentTeam^.Hedgehogs[CurrentTeam^.CurrHedgehog].Gear <> nil);
 
-CurrentHedgehog:= @(CurrentTeam^.Hedgehogs[CurrentTeam^.CurrHedgehog])
+CurrentHedgehog:= @(CurrentTeam^.Hedgehogs[CurrentTeam^.CurrHedgehog]);
+doSomethingWhen_NewTurnBeginning();
 end;
 
 procedure AfterSwitchHedgehog;