no way
authorunc0rr
Sat, 20 Nov 2010 23:19:52 +0300
changeset 4387 3698361802ed
parent 4386 855049a88c59
child 4388 b14e24444bca
no way
hedgewars/GSHandlers.inc
hedgewars/uGears.pas
--- a/hedgewars/GSHandlers.inc	Sat Nov 20 23:10:26 2010 +0300
+++ b/hedgewars/GSHandlers.inc	Sat Nov 20 23:19:52 2010 +0300
@@ -4266,8 +4266,11 @@
 
     AllInactive := false;
     hh := Gear^.Hedgehog;
-    DrawCentered(hwRound(hh^.Gear^.X) + WorldDx, hwRound(hh^.Gear^.Y) + WorldDy -
+
+    // no, you can't do that here
+    {DrawCentered(hwRound(hh^.Gear^.X) + WorldDx, hwRound(hh^.Gear^.Y) + WorldDy -
             cHHRadius - 14 - hh^.HealthTagTex^.h, hh^.HealthTagTex);
+    }
     (*DrawCircle(hwRound(Gear^.X), hwRound(Gear^.Y), Gear^.Radius, 1.5, 0, 0, $FF,
             $FF);*)
 
--- a/hedgewars/uGears.pas	Sat Nov 20 23:10:26 2010 +0300
+++ b/hedgewars/uGears.pas	Sat Nov 20 23:19:52 2010 +0300
@@ -46,7 +46,7 @@
 implementation
 uses uWorld, uStore, uSound, uTeams, uRandom, uCollisions, uIO, uLandGraphics,
      uAIMisc, uLocale, uAI, uAmmos, uStats, uVisualGears, uScript, GLunit, uMobile, uVariables,
-     uCommands, uUtils, uTextures, uRender, uRenderUtils, uGearsRender;
+     uCommands, uUtils, uTextures, uRenderUtils, uGearsRender;
 
 
 procedure DeleteGear(Gear: PGear); forward;