From 8540871ebcfca6584051e1fc042951baa0ed3275 Mon Sep 17 00:00:00 2001 From: RealBadAngel Date: Sun, 4 Nov 2012 21:18:28 +0100 Subject: [PATCH] Formspec: Draw images before inventories. Allows to use image as background. --- src/guiFormSpecMenu.cpp | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/src/guiFormSpecMenu.cpp b/src/guiFormSpecMenu.cpp index ed44e441b..affbd1a34 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