Fix misplaced selection box in some situations

stable-0.4
sapier 2014-05-26 22:11:42 +02:00
parent 31f9912e9e
commit ab75b1b923
1 changed files with 1 additions and 0 deletions

View File

@ -401,6 +401,7 @@ void draw_plain(Camera& camera, bool show_hud, Hud& hud,
std::vector<aabb3f> 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);