try this instead
authornemo
Sat, 03 Apr 2010 16:32:48 +0000
changeset 3299 aff2315a2843
parent 3298 745571a9d313
child 3300 4adaad1d5027
try this instead
hedgewars/GSHandlers.inc
--- a/hedgewars/GSHandlers.inc	Sat Apr 03 16:02:13 2010 +0000
+++ b/hedgewars/GSHandlers.inc	Sat Apr 03 16:32:48 2010 +0000
@@ -957,7 +957,7 @@
     begin
     DeleteGear(Gear);
     isCursorVisible:= false;
-    ApplyAmmoChanges(PHedgehog(Gear^.Hedgehog)^);
+    ApplyAmmoChanges(PHedgehog(HHGear^.Hedgehog)^);
     exit
     end;
 
@@ -1778,7 +1778,7 @@
         end;
     DeleteGear(Gear);
     isCursorVisible:= false;
-    ApplyAmmoChanges(PHedgehog(Gear^.Hedgehog)^);
+    ApplyAmmoChanges(PHedgehog(HHGear^.Hedgehog)^);
     exit
     end;
 
@@ -2753,7 +2753,7 @@
         end;
     DeleteGear(Gear);
     isCursorVisible:= false;
-    ApplyAmmoChanges(PHedgehog(Gear^.Hedgehog)^);
+    ApplyAmmoChanges(PHedgehog(HHGear^.Hedgehog)^);
 //    if Gear^.Tex <> nil then FreeTexture(Gear^.Tex);
 //    Gear^.Tex:= RenderStringTex(trmsg[sidFuel] + ': ' + inttostr(round(Gear^.Health / 20)) + '%', cWhiteColor, fntSmall)
     //AddCaption(trmsg[sidFuel]+': '+inttostr(round(Gear^.Health/20))+'%', cWhiteColor, capgrpAmmostate);