spacing fix in Avatar.cpp

This commit is contained in:
Stephen Birarda 2013-06-06 09:42:25 -07:00
parent 2cb9b609f4
commit 6a7434651a

View file

@ -983,7 +983,7 @@ void Avatar::render(bool lookingInMirror, bool renderAvatarBalls) {
glDisable(GL_LIGHTING);
glDepthMask(false);
if (_keyState == NO_KEY_DOWN) {
textRenderer()->draw(-width/2, 0, _chatMessage.c_str());
textRenderer()->draw(-width / 2.0f, 0, _chatMessage.c_str());
} else {
// rather than using substr and allocating a new string, just replace the last