about summary refs log tree commit diff
path: root/src/game/client/gc_menu.cpp
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2008-03-17 01:41:11 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2008-03-17 01:41:11 +0000
commit22360b5d795164df0c7a80a88f5b7cb1c230e6f0 (patch)
treedf7a55964ebd5a054689ed53ad7b1c56b4284314 /src/game/client/gc_menu.cpp
parent412958bae395c50892ce390b84e309ce827e9b13 (diff)
downloadzcatch-22360b5d795164df0c7a80a88f5b7cb1c230e6f0.tar.gz
zcatch-22360b5d795164df0c7a80a88f5b7cb1c230e6f0.zip
blood color depending on skin fixed
Diffstat (limited to 'src/game/client/gc_menu.cpp')
-rw-r--r--src/game/client/gc_menu.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/game/client/gc_menu.cpp b/src/game/client/gc_menu.cpp
index 6ee03e17..82c17ab1 100644
--- a/src/game/client/gc_menu.cpp
+++ b/src/game/client/gc_menu.cpp
@@ -1321,6 +1321,15 @@ static void menu2_render_settings_player(RECT main_view)
 		ui_hsplit_t(&icon, 5.0f, 0, &icon); // some margin from the top
 		render_tee(&state, &info, 0, vec2(1, 0), vec2(icon.x+icon.w/2, icon.y+icon.h/2));
 		
+		if(config.debug)
+		{
+			gfx_texture_set(-1);
+			gfx_quads_begin();
+			gfx_setcolor(s->blood_color.r, s->blood_color.g, s->blood_color.b, 1.0f);
+			gfx_quads_drawTL(icon.x, icon.y, 12, 12);
+			gfx_quads_end();
+		}
+		
 		ui_hsplit_t(&list, 50, &button, &list);
 	}
 }