From: RealBadAngel Date: Sun, 4 Nov 2012 20:18:28 +0000 (+0100) Subject: Formspec: Draw images before inventories. Allows to use image as background. X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=8540871ebcfca6584051e1fc042951baa0ed3275;p=zefram%2Fminetest%2Fminetest_engine.git Formspec: Draw images before inventories. Allows to use image as background. --- diff --git a/src/guiFormSpecMenu.cpp b/src/guiFormSpecMenu.cpp index ed44e441..affbd1a3 100644 --- a/src/guiFormSpecMenu.cpp +++ b/src/guiFormSpecMenu.cpp @@ -692,17 +692,8 @@ void GUIFormSpecMenu::drawMenu() m_tooltip_element->setVisible(false); /* - Draw items - Phase 0: Item slot rectangles - Phase 1: Item images; prepare tooltip + Draw images */ - - for(int phase=0; phase<=1; phase++) - for(u32 i=0; i