summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-07-09 00:05:18 +0300
committerAndrei Karas <akaras@inbox.ru>2011-07-09 00:05:18 +0300
commit3f31d4f379f2baa5ae98f3a5f551307735820fa3 (patch)
tree280bb5cf26dcfa04dc7bb21ebdcf5b6f9816ad0b /src/game.cpp
parent0cb852ac8e4a977d8ca74c2ae895ab132436754a (diff)
downloadmanaplus-3f31d4f379f2baa5ae98f3a5f551307735820fa3.tar.gz
manaplus-3f31d4f379f2baa5ae98f3a5f551307735820fa3.tar.bz2
manaplus-3f31d4f379f2baa5ae98f3a5f551307735820fa3.tar.xz
manaplus-3f31d4f379f2baa5ae98f3a5f551307735820fa3.zip
Fix updating local player status.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 21f03d42c..0082040dc 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -1100,6 +1100,8 @@ void Game::handleInput()
}
Client::setFramerate(fpsLimit);
}
+ if (player_node)
+ player_node->updateName();
if (event.active.state & SDL_APPINPUTFOCUS)
Client::setInputFocused(event.active.gain);