changeset 4465 | 743673c67d0c |
parent 4413 | 46caab3a8f84 |
child 4479 | 59e11a5a3bfa |
--- a/hedgewars/uTeams.pas Mon Dec 06 03:09:12 2010 +0100 +++ b/hedgewars/uTeams.pas Sun Dec 05 22:02:30 2010 -0500 @@ -311,6 +311,7 @@ if (not ExtDriven) and (Hedgehogs[0].BotLevel = 0) then begin LocalClan:= Clan^.ClanIndex; + LocalTeam:= t; LocalAmmo:= Hedgehogs[0].AmmoStore end; th:= 0; @@ -521,6 +522,7 @@ TeamsCount:= 0; ClansCount:= 0; LocalClan:= -1; + LocalTeam:= -1; LocalAmmo:= -1; GameOver:= false end;