summaryrefslogtreecommitdiff
path: root/src/interface.c
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2011-11-18 15:36:58 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2011-11-18 15:36:58 (GMT)
commit8a962b2f9605672627c077d2878c03fab53495a4 (patch)
treef6039a4452f0fff0cf8f8adc60708c51d3e3f17e /src/interface.c
parentc1ec9e24aea93560628bf00d9e478b256353575d (diff)
downloadpowder-8a962b2f9605672627c077d2878c03fab53495a4.zip
powder-8a962b2f9605672627c077d2878c03fab53495a4.tar.gz
Live parts rendering for render_ui
Diffstat (limited to 'src/interface.c')
-rw-r--r--src/interface.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/interface.c b/src/interface.c
index b874880..b44d1cd 100644
--- a/src/interface.c
+++ b/src/interface.c
@@ -6375,6 +6375,7 @@ void render_ui(pixel * vid_buf, int xcoord, int ycoord, int orientation)
my /= sdl_scale;
memcpy(vid_buf, o_vid_buf, ((YRES+MENUSIZE) * (XRES+BARSIZE)) * PIXELSIZE);
+ render_parts(vid_buf);
clearrect(vid_buf, xcoord-2, ycoord-2, xsize+4, ysize+4);
drawrect(vid_buf, xcoord, ycoord, xsize, ysize, 192, 192, 192, 255);