about summary refs log tree commit diff
path: root/src/game
diff options
context:
space:
mode:
authorJakob Fries <jakob.fries@gmail.com>2007-07-21 21:11:54 +0000
committerJakob Fries <jakob.fries@gmail.com>2007-07-21 21:11:54 +0000
commit17ae9fe2f3cc48183a1fee594289fb514b35d3c9 (patch)
tree5b1feb10b5561f1b963d1ae4cd6e7ece6cb3ee59 /src/game
parentc3abd9d0662a0705f88a9bb4ccbb41be592bd357 (diff)
downloadzcatch-17ae9fe2f3cc48183a1fee594289fb514b35d3c9.tar.gz
zcatch-17ae9fe2f3cc48183a1fee594289fb514b35d3c9.zip
Diffstat (limited to 'src/game')
-rw-r--r--src/game/client/menu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/client/menu.cpp b/src/game/client/menu.cpp
index 73fe1b8f..fa5b4c3c 100644
--- a/src/game/client/menu.cpp
+++ b/src/game/client/menu.cpp
@@ -542,7 +542,7 @@ int do_scroll_bar_horiz(void *id, float x, float y, float width, int steps, int
 	draw_part(GUI_MISC_SLIDER_BIG_HORIZ_MID, tileset_regular, x + 32, y + 8, width - 32 - 32, 16);
 	draw_part(GUI_MISC_SLIDER_BIG_HORIZ_END, tileset_regular, x + width - 32, y + 8, 16, 16);
 
-	draw_part(GUI_MISC_SLIDER_BIG_HANDLE_HORIZ, tileset_inactive, x + 16 + r * ((width - 64) / steps), y + 7, 32, 16);
+	draw_part(GUI_MISC_SLIDER_BIG_HANDLE_HORIZ, tileset_regular, x + 16 + r * ((width - 64) / steps), y + 8, 32, 16);
 
 	return r;
 }
@@ -596,7 +596,7 @@ int do_scroll_bar_vert(void *id, float x, float y, float height, int steps, int
 	draw_part(GUI_MISC_SLIDER_BIG_VERT_MID, tileset_regular, x + 8, y + 32, 16, height - 32 - 32);
 	draw_part(GUI_MISC_SLIDER_BIG_VERT_END, tileset_regular, x + 8, y + height - 32, 16, 16);
 
-	draw_part(GUI_MISC_SLIDER_BIG_HANDLE_HORIZ, tileset_regular, x, y + 16 + r * ((height - 48) / steps), 32, 16);
+	draw_part(GUI_MISC_SLIDER_BIG_HANDLE_VERT, tileset_regular, x + 8, y + 16 + r * ((height - 64) / steps), 16, 32);
 
 	return r;
 }