diff -r e944cc43f7a4 -r 4f2b1a152979 hedgewars/CCHandlers.inc --- a/hedgewars/CCHandlers.inc Wed Nov 17 20:36:35 2010 +0300 +++ b/hedgewars/CCHandlers.inc Wed Nov 17 20:58:23 2010 +0300 @@ -160,7 +160,7 @@ SplitBySpace(s, id); val(s, Gear^.Health); TryDo(Gear^.Health > 0, 'Invalid hedgehog health', true); - PHedgehog(Gear^.Hedgehog)^.Team:= CurrentTeam; + Gear^.Hedgehog^.Team:= CurrentTeam; if (GameFlags and gfSharedAmmo) <> 0 then CurrentHedgehog^.AmmoStore:= Clan^.ClanIndex else if (GameFlags and gfPerHogAmmo) <> 0 then begin