about summary refs log tree commit diff
path: root/src/game/client/components/menus_demo.cpp
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2011-03-16 21:31:55 +0100
committeroy <Tom_Adams@web.de>2011-03-16 21:31:55 +0100
commitb4bec5335960f78a0ad6ac6f0c491cb76375bd56 (patch)
tree50a90b68565f103198c670efe9c918ace4428e55 /src/game/client/components/menus_demo.cpp
parent7412fabb9c74264010cd4ee43b2efddd326cafea (diff)
downloadzcatch-b4bec5335960f78a0ad6ac6f0c491cb76375bd56.tar.gz
zcatch-b4bec5335960f78a0ad6ac6f0c491cb76375bd56.zip
added clan name and country flag selector to the player settings
Diffstat (limited to 'src/game/client/components/menus_demo.cpp')
-rw-r--r--src/game/client/components/menus_demo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/client/components/menus_demo.cpp b/src/game/client/components/menus_demo.cpp
index 011b1e5e..c4bfb0e0 100644
--- a/src/game/client/components/menus_demo.cpp
+++ b/src/game/client/components/menus_demo.cpp
@@ -235,7 +235,7 @@ static int gs_ListBoxItemsPerRow;
 static float gs_ListBoxScrollValue;
 static bool gs_ListBoxItemActivated;
 
-void CMenus::UiDoListboxStart(void *pID, const CUIRect *pRect, float RowHeight, const char *pTitle, const char *pBottomText, int NumItems,
+void CMenus::UiDoListboxStart(const void *pID, const CUIRect *pRect, float RowHeight, const char *pTitle, const char *pBottomText, int NumItems,
 								int ItemsPerRow, int SelectedIndex, float ScrollValue)
 {
 	CUIRect Scroll, Row;
@@ -340,7 +340,7 @@ CMenus::CListboxItem CMenus::UiDoListboxNextRow()
 	return Item;
 }
 
-CMenus::CListboxItem CMenus::UiDoListboxNextItem(void *pId, bool Selected)
+CMenus::CListboxItem CMenus::UiDoListboxNextItem(const void *pId, bool Selected)
 {
 	int ThisItemIndex = gs_ListBoxItemIndex;
 	if(Selected)