--- a/hedgewars/GSHandlers.inc Tue Feb 13 18:52:14 2007 +0000
+++ b/hedgewars/GSHandlers.inc Tue Feb 13 21:22:00 2007 +0000
@@ -786,6 +786,8 @@
begin
DeleteGear(Gear);
FreeActionsList;
+ with CurrentTeam^.Hedgehogs[CurrentTeam^.CurrHedgehog] do
+ if Gear <> nil then Gear^.Message:= Gear^.Message and not (gm_LJump or gm_HJump);
exit
end;
--- a/hedgewars/uAI.pas Tue Feb 13 18:52:14 2007 +0000
+++ b/hedgewars/uAI.pas Tue Feb 13 21:22:00 2007 +0000
@@ -43,9 +43,6 @@
ThinkThread:= nil
end;
-with CurrentTeam^.Hedgehogs[CurrentTeam^.CurrHedgehog] do
- if Gear <> nil then Gear^.Message:= 0;
-
BestActions.Count:= 0;
BestActions.Pos:= 0
end;