From: sapier Date: Mon, 26 May 2014 20:11:42 +0000 (+0200) Subject: Fix misplaced selection box in some situations X-Git-Tag: 0.4.10~106 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ab75b1b923db157a7d05c5498456a0fd1faee883;p=oweals%2Fminetest.git Fix misplaced selection box in some situations --- diff --git a/src/drawscene.cpp b/src/drawscene.cpp index 218ddec68..f7b916a8c 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);