diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-07-09 00:05:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-07-09 00:05:18 +0300 |
commit | 3f31d4f379f2baa5ae98f3a5f551307735820fa3 (patch) | |
tree | 280bb5cf26dcfa04dc7bb21ebdcf5b6f9816ad0b /src/game.cpp | |
parent | 0cb852ac8e4a977d8ca74c2ae895ab132436754a (diff) | |
download | mv-3f31d4f379f2baa5ae98f3a5f551307735820fa3.tar.gz mv-3f31d4f379f2baa5ae98f3a5f551307735820fa3.tar.bz2 mv-3f31d4f379f2baa5ae98f3a5f551307735820fa3.tar.xz mv-3f31d4f379f2baa5ae98f3a5f551307735820fa3.zip |
Fix updating local player status.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 2 |
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); |