Fix wrong status text rectangle. Fix for #1412
authorRealBadAngel <maciej.kasatkin@o2.pl>
Fri, 27 Jun 2014 18:16:37 +0000 (20:16 +0200)
committerRealBadAngel <maciej.kasatkin@o2.pl>
Fri, 27 Jun 2014 18:16:37 +0000 (20:16 +0200)
src/game.cpp

index 4e2677be6e18759997a81399b7b9766597486419..3acc93828817f1bc7629abb37abb80ee08b1e13a 100644 (file)
@@ -3227,7 +3227,7 @@ void the_game(bool &kill, bool random_input, InputHandler *input,
                                core::rect<s32> rect(
                                                10,
                                                status_y - guitext_status->getTextHeight(),
-                                               10 + guitext_chat->getTextWidth(),
+                                               10 + guitext_status->getTextWidth(),
                                                status_y
                                );
                                guitext_status->setRelativePosition(rect);