changeset 4365 | 4f2b1a152979 |
parent 4241 | 835fd7a0e1bf |
child 4389 | d1c65b60cd68 |
--- 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