hedgewars/GSHandlers.inc
changeset 762 5ecf042f6113
parent 690 e9d35e319328
child 764 7513452b1d51
--- a/hedgewars/GSHandlers.inc	Sun Jan 27 13:35:56 2008 +0000
+++ b/hedgewars/GSHandlers.inc	Sun Jan 27 15:02:12 2008 +0000
@@ -212,10 +212,10 @@
    end;
 
 str(Gear^.State, s);
-Gear^.Surf:= RenderString(s, PHedgehog(Gear^.Hedgehog)^.Team^.Clan^.Color, font);
+Gear^.Tex:= RenderStringTex(s, PHedgehog(Gear^.Hedgehog)^.Team^.Clan^.Color, font);
 if hwRound(Gear^.Y) < cWaterLine then Gear^.doStep:= @doStepHealthTagWork
                                  else Gear^.doStep:= @doStepHealthTagWorkUnderWater;
-Gear^.Y:= Gear^.Y - int2hwFloat(Gear^.Surf^.h)
+Gear^.Y:= Gear^.Y - int2hwFloat(Gear^.Tex^.h)
 end;
 
 ////////////////////////////////////////////////////////////////////////////////