From: sapier Date: Mon, 26 May 2014 20:11:42 +0000 (+0200) Subject: Fix misplaced selection box in some situations X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=ab75b1b923db157a7d05c5498456a0fd1faee883;p=zefram%2Fminetest%2Fminetest_engine.git Fix misplaced selection box in some situations --- 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);