changeset 89 | f9db56409a86 |
parent 83 | 207c85fbef51 |
child 92 | 0c359a7a2356 |
--- a/hedgewars/uTeams.pas Wed Jul 26 13:44:11 2006 +0000 +++ b/hedgewars/uTeams.pas Thu Jul 27 15:24:14 2006 +0000 @@ -126,7 +126,7 @@ begin FreeActionsList; TargetPoint.X:= NoPointX; -if CurrentTeam = nil then OutError('nil Team', true); +TryDo(CurrentTeam <> nil, 'nil Team', true); tteam:= CurrentTeam; with CurrentTeam.Hedgehogs[CurrentTeam.CurrHedgehog] do if Gear <> nil then Gear.Message:= 0;