changeset 929 | 9456e1e77369 |
parent 927 | 2c1675344a6f |
child 946 | 42c5cc87cbd1 |
--- a/hedgewars/CCHandlers.inc Mon May 12 15:00:20 2008 +0000 +++ b/hedgewars/CCHandlers.inc Mon May 12 19:49:36 2008 +0000 @@ -232,8 +232,7 @@ with CurrentHedgehog^.Gear^ do begin {$IFDEF DEBUGFILE}AddFileLog('/+attack: Gear^.State = '+inttostr(State));{$ENDIF} - if ((State and gstHHDriven) <> 0) and - ((State and (gstAttacked or gstHHChooseTarget)) = 0) then + if ((State and gstHHDriven) <> 0) then begin FollowGear:= CurrentHedgehog^.Gear; if not CurrentTeam^.ExtDriven then SendIPC('A');