hedgewars/uAI.pas
changeset 434 2c6ccce17f39
parent 433 9f8f22094c0e
child 439 c336ed82e76d
--- a/hedgewars/uAI.pas	Sun Feb 11 15:33:19 2007 +0000
+++ b/hedgewars/uAI.pas	Sun Feb 11 19:38:26 2007 +0000
@@ -42,6 +42,10 @@
    SDL_WaitThread(ThinkThread, nil);
    ThinkThread:= nil
    end;
+
+with CurrentTeam^.Hedgehogs[CurrentTeam^.CurrHedgehog] do
+     if Gear <> nil then Gear^.Message:= 0;
+
 BestActions.Count:= 0;
 BestActions.Pos:= 0
 end;