From ab75b1b923db157a7d05c5498456a0fd1faee883 Mon Sep 17 00:00:00 2001 From: sapier Date: Mon, 26 May 2014 22:11:42 +0200 Subject: [PATCH] Fix misplaced selection box in some situations --- src/drawscene.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/drawscene.cpp b/src/drawscene.cpp index 218ddec6..f7b916a8 100644 --- a/src/drawscene.cpp +++ b/src/drawscene.cpp @@ -401,6 +401,7 @@ void draw_plain(Camera& camera, bool show_hud, Hud& hud, std::vector hilightboxes, video::IVideoDriver* driver, bool draw_wield_tool, Client& client, gui::IGUIEnvironment* guienv) { + driver->setTransform(video::ETS_WORLD, core::IdentityMatrix); draw_selectionbox(driver, hud, hilightboxes, show_hud); -- 2.30.2