From 377a249f528aa8847d790bff7c167c6c09605748 Mon Sep 17 00:00:00 2001 From: Henrique Date: Sun, 21 Aug 2011 00:24:43 -0300 Subject: [PATCH] remove text draw on tiles --- src/otclient/core/tile.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/otclient/core/tile.cpp b/src/otclient/core/tile.cpp index 5bbb94ad..ddf258e3 100644 --- a/src/otclient/core/tile.cpp +++ b/src/otclient/core/tile.cpp @@ -31,7 +31,7 @@ void Tile::draw(int x, int y, int step) if(thingAttributes.alwaysOnTopOrder == 1) { thing->draw(x - m_drawNextOffset, y - m_drawNextOffset); - font->renderText("T1", Rect(x + 5, y+5, 100, 100)); + //font->renderText("T1", Rect(x + 5, y+5, 100, 100)); m_drawNextOffset += thingAttributes.drawNextOffset; } @@ -43,7 +43,7 @@ void Tile::draw(int x, int y, int step) if(thingAttributes.alwaysOnTopOrder == 2) { thing->draw(x - m_drawNextOffset, y - m_drawNextOffset); - font->renderText("T2", Rect(x + 5, y+5, 100, 100)); + //font->renderText("T2", Rect(x + 5, y+5, 100, 100)); m_drawNextOffset += thingAttributes.drawNextOffset; } } @@ -52,7 +52,7 @@ void Tile::draw(int x, int y, int step) const ThingPtr& thing = *it; const ThingAttributes& thingAttributes = thing->getAttributes(); thing->draw(x - m_drawNextOffset, y - m_drawNextOffset); - font->renderText("B0", Rect(x + 5, y+5, 100, 100)); + //font->renderText("B0", Rect(x + 5, y+5, 100, 100)); m_drawNextOffset += thingAttributes.drawNextOffset; } @@ -67,7 +67,7 @@ void Tile::draw(int x, int y, int step) if(thingAttributes.alwaysOnTopOrder == 3) { thing->draw(x - m_drawNextOffset, y - m_drawNextOffset); - font->renderText("T3", Rect(x + 5, y+5, 100, 100)); + //font->renderText("T3", Rect(x + 5, y+5, 100, 100)); m_drawNextOffset += thingAttributes.drawNextOffset; } }