aboutsummaryrefslogtreecommitdiffstats
path: root/src/entities.cpp
diff options
context:
space:
mode:
authordrumsetmonkey <abelleisle@roadrunner.com>2015-11-13 12:53:22 -0500
committerdrumsetmonkey <abelleisle@roadrunner.com>2015-11-13 12:53:22 -0500
commita36ce90d8b702b95d623553623dbd20ab64ff3a7 (patch)
tree2343cceebc0e3f4636babb84407699521d819df7 /src/entities.cpp
parent2efd19fa9cd3d24538242cbea828830ac07c324f (diff)
Makefile supports 64 and 32 bit
Diffstat (limited to 'src/entities.cpp')
-rw-r--r--src/entities.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/entities.cpp b/src/entities.cpp
index 7b1c3de..a8e9bfb 100644
--- a/src/entities.cpp
+++ b/src/entities.cpp
@@ -191,8 +191,7 @@ void Entity::draw(void){ //draws the entities
glMatrixMode(GL_MODELVIEW);
glPopMatrix();
if(near){
- ui::setFontSize(14);
- ui::putText(loc.x,loc.y-ui::fontSize-HLINE/2,"%s",name);
+ ui::putStringCentered(loc.x+width/2,loc.y-ui::fontSize-HLINE/2,name);
}
}