Modified DrawGear so that it doesn't draw the gear when it has message gmRemoveFromList (it was causing havoc when I used HideHog as it could not access the position of the hog)
--- a/hedgewars/uGears.pas Mon Jul 16 20:56:55 2012 +0300
+++ b/hedgewars/uGears.pas Sat Jul 21 01:47:34 2012 +0300
@@ -556,7 +556,7 @@
Gear:= GearsList;
while Gear <> nil do
begin
- if Gear^.State and gstInvisible = 0 then
+ if (Gear^.State and gstInvisible = 0) and (Gear^.Message and gmRemoveFromList = 0) then
begin
x:= hwRound(Gear^.X) + WorldDx;
y:= hwRound(Gear^.Y) + WorldDy;