diff -r 668b71f31e51 -r 2560731c860d hedgewars/uTeams.pas --- 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;