diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-07-22 13:46:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-07-22 13:46:41 +0300 |
commit | e5310e2a122012f6191216e926b98d1fddc01e39 (patch) | |
tree | b7511cb0bbf93adad3ec2cba70c422135ef91e18 /src | |
parent | d569dc78b5b50c0e6cbe84e48164e5774fd36de7 (diff) | |
download | plus-e5310e2a122012f6191216e926b98d1fddc01e39.tar.gz plus-e5310e2a122012f6191216e926b98d1fddc01e39.tar.bz2 plus-e5310e2a122012f6191216e926b98d1fddc01e39.tar.xz plus-e5310e2a122012f6191216e926b98d1fddc01e39.zip |
Fix yellow bar first time drawing.
It was broken in previous commits.
Diffstat (limited to 'src')
-rw-r--r-- | src/game.cpp | 2 | ||||
-rw-r--r-- | src/net/ea/playerhandler.cpp | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp index f282cbeae..f97b55d66 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -155,6 +155,8 @@ static void initEngines() keyboard.update(); if (joystick) joystick->update(); + + UpdateStatusListener::distributeEvent(); } /** diff --git a/src/net/ea/playerhandler.cpp b/src/net/ea/playerhandler.cpp index 31e298fdc..28f9bf876 100644 --- a/src/net/ea/playerhandler.cpp +++ b/src/net/ea/playerhandler.cpp @@ -184,7 +184,6 @@ void PlayerHandler::processPlayerWarp(Net::MessageIn &msg) if (viewport) { viewport->returnCamera(); - UpdateStatusListener::distributeEvent(); viewport->scrollBy(scrollOffsetX, scrollOffsetY); } BLOCK_END("PlayerHandler::processPlayerWarp") |