# HG changeset patch # User nemo # Date 1270312368 0 # Node ID aff2315a2843b43c72928fbbc60080a521d5c734 # Parent 745571a9d313a7258f6e8c8cbdd670b92079fd66 try this instead diff -r 745571a9d313 -r aff2315a2843 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);