about summary refs log tree commit diff
path: root/src/game/client
diff options
context:
space:
mode:
authorDominik Geyer <dominik.geyer@gmx.de>2008-10-02 15:34:45 +0000
committerDominik Geyer <dominik.geyer@gmx.de>2008-10-02 15:34:45 +0000
commit343324c21b0c524f0c983d755147b7b28a6cc3a9 (patch)
tree84118a24c1606c7ea4b93dfae900923b7c256c6f /src/game/client
parent9b0b0eb98d8397d491fb493b5dddab3d9b8e5e11 (diff)
downloadzcatch-343324c21b0c524f0c983d755147b7b28a6cc3a9.tar.gz
zcatch-343324c21b0c524f0c983d755147b7b28a6cc3a9.zip
fixed compiler warnings
Diffstat (limited to 'src/game/client')
-rw-r--r--src/game/client/components/menus_ingame.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/game/client/components/menus_ingame.cpp b/src/game/client/components/menus_ingame.cpp
index 80b5f0fd..33b4ffca 100644
--- a/src/game/client/components/menus_ingame.cpp
+++ b/src/game/client/components/menus_ingame.cpp
@@ -180,7 +180,7 @@ void MENUS::render_serverinfo(RECT main_view)
 	x = 5.0f;
 	y = 0.0f;
 	
-	gfx_text(0, serverinfo.x+x, serverinfo.y+y, 32, "Server info", 250.0f);
+	gfx_text(0, serverinfo.x+x, serverinfo.y+y, 32, "Server info", 250);
 	y += 32.0f+5.0f;
 	
 	mem_zero(buf, sizeof(buf));
@@ -198,7 +198,7 @@ void MENUS::render_serverinfo(RECT main_view)
 		current_server_info.version,
 		current_server_info.flags&1 ? "Yes" : "No"
 	);
-	gfx_text(0, serverinfo.x+x, serverinfo.y+y, 20, buf, 250.0f);
+	gfx_text(0, serverinfo.x+x, serverinfo.y+y, 20, buf, 250);
 	
 	{
 		RECT button;
@@ -223,7 +223,7 @@ void MENUS::render_serverinfo(RECT main_view)
 	x = 5.0f;
 	y = 0.0f;
 	
-	gfx_text(0, gameinfo.x+x, gameinfo.y+y, 32, "Game info", 250.0f);
+	gfx_text(0, gameinfo.x+x, gameinfo.y+y, 32, "Game info", 250);
 	y += 32.0f+5.0f;
 	
 	mem_zero(buf, sizeof(buf));
@@ -244,7 +244,7 @@ void MENUS::render_serverinfo(RECT main_view)
 		gameclient.snap.team_size[0]+gameclient.snap.team_size[1],
 		current_server_info.max_players
 	);
-	gfx_text(0, gameinfo.x+x, gameinfo.y+y, 20, buf, 250.0f);
+	gfx_text(0, gameinfo.x+x, gameinfo.y+y, 20, buf, 250);
 	
 	/* motd */
 	ui_hsplit_t(&motd, 10.0f, 0, &motd);
@@ -254,7 +254,7 @@ void MENUS::render_serverinfo(RECT main_view)
 	x = 5.0f;
 	gfx_text(0, motd.x+x, motd.y+y, 32, "MOTD", -1);
 	y += 32.0f+5.0f;
-	gfx_text(0, motd.x+x, motd.y+y, 16, gameclient.motd->server_motd, motd.w);
+	gfx_text(0, motd.x+x, motd.y+y, 16, gameclient.motd->server_motd, (int)motd.w);
 }
 
 void MENUS::render_servercontrol_map(RECT main_view)