hedgewars/uAIMisc.pas
changeset 4372 3836973380b9
parent 4368 b89235e401e5
child 4374 bcefeeabaa33
--- a/hedgewars/uAIMisc.pas	Wed Nov 17 22:26:34 2010 +0300
+++ b/hedgewars/uAIMisc.pas	Wed Nov 17 22:09:07 2010 -0500
@@ -131,7 +131,7 @@
 
 begin
 bonuses.Count:= 0;
-MyClan:= PHedgehog(ThinkingHH^.Hedgehog)^.Team^.Clan;
+MyClan:= ThinkingHH^.Hedgehog^.Team^.Clan;
 Gear:= GearsList;
 while Gear <> nil do
     begin