From ffee2ee478a77686355f21f5835e09316d6c0cbb Mon Sep 17 00:00:00 2001 From: number Zero Date: Fri, 13 Oct 2017 02:18:45 +0300 Subject: [PATCH] Fix status line positioning --- src/game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game.cpp b/src/game.cpp index fb6f91fa..ca649d4d 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -4323,7 +4323,7 @@ inline static const char *yawToDirectionString(int yaw) void Game::updateGui(const RunStats &stats, f32 dtime, const CameraOrientation &cam) { - v2u32 screensize = driver->getScreenSize(); + v2u32 screensize = RenderingEngine::get_instance()->getWindowSize(); LocalPlayer *player = client->getEnv().getLocalPlayer(); v3f player_position = player->getPosition();