From 107033eb62d2d8c83e0a64b9d8b6bb7cebe86913 Mon Sep 17 00:00:00 2001
From: Evan Debenham <Evan.SHPX@gmail.com>
Date: Tue, 23 Jun 2015 22:45:33 -0400
Subject: [PATCH] v0.3.1: modified floating text on characters to be more
 dependant on the character's true position than the sprite's current
 position.

---
 .../shatteredpixeldungeon/sprites/CharSprite.java              | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/sprites/CharSprite.java b/src/com/shatteredpixel/shatteredpixeldungeon/sprites/CharSprite.java
index 93ab40f21..cb1231948 100644
--- a/src/com/shatteredpixel/shatteredpixeldungeon/sprites/CharSprite.java
+++ b/src/com/shatteredpixel/shatteredpixeldungeon/sprites/CharSprite.java
@@ -130,7 +130,8 @@ public class CharSprite extends MovieClip implements Tweener.Listener, MovieClip
 				text = Utils.format( text, args );
 			}
 			if (ch != null) {
-				FloatingText.show( x + width * 0.5f, y, ch.pos, text, color );
+				PointF tile = DungeonTilemap.tileCenterToWorld(ch.pos);
+				FloatingText.show( tile.x, tile.y-(width*0.5f), ch.pos, text, color );
 			} else {
 				FloatingText.show( x + width * 0.5f, y, text, color );
 			}