From 0b00bf2ccff23b5f565e214b36be3ea823ab59da Mon Sep 17 00:00:00 2001 From: Simon Edwardsson Date: Sun, 3 Oct 2004 12:56:09 +0000 Subject: Added tmw_bar_proc, and a stat window, (I have // your stat window kth5 :) ) --- src/gui/inventory.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/inventory.cpp') diff --git a/src/gui/inventory.cpp b/src/gui/inventory.cpp index 09bf56f2..be2b239f 100644 --- a/src/gui/inventory.cpp +++ b/src/gui/inventory.cpp @@ -56,10 +56,10 @@ void TmwInventory::draw(BITMAP * buffer) { for(int i=0;i0) { if(items[i].id>=501 && items[i].id<=510) - masked_blit((BITMAP *)itemset[items[i].id-500].dat, gui_bitmap, 0, 0, inventory_dialog[0].x-90+24*i, inventory_dialog[0].y+26, 22, 22); + masked_blit((BITMAP *)itemset[items[i].id-500].dat, gui_bitmap, 0, 0, inventory_dialog[0].x+24*i, inventory_dialog[0].y+26, 22, 22); else - masked_blit((BITMAP *)itemset[0].dat, gui_bitmap, 0, 0, inventory_dialog[0].x-90+24*i, inventory_dialog[0].y+26, 22, 22); - alfont_textprintf_aa(gui_bitmap, gui_font, inventory_dialog[0].x-90+24*i, inventory_dialog[0].y+44, makecol(0,0,0), "%i", items[i].quantity); + masked_blit((BITMAP *)itemset[0].dat, gui_bitmap, 0, 0, inventory_dialog[0].x+24*i, inventory_dialog[0].y+26, 22, 22); + alfont_textprintf_aa(gui_bitmap, gui_font, inventory_dialog[0].x+24*i, inventory_dialog[0].y+44, makecol(0,0,0), "%i", items[i].quantity); } } } -- cgit v1.2.3-70-g09d2