about summary refs log tree commit diff
path: root/src/game/client
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2007-12-11 21:55:52 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2007-12-11 21:55:52 +0000
commit63e834c35381a115876bf2c22834417af9788d8f (patch)
tree4d37831e4a4f218704366e99835183f9d7cf9617 /src/game/client
parent094a019149269e2c6efcc729a5c24ca728a07c98 (diff)
downloadzcatch-63e834c35381a115876bf2c22834417af9788d8f.tar.gz
zcatch-63e834c35381a115876bf2c22834417af9788d8f.zip
added connection problems sign
Diffstat (limited to 'src/game/client')
-rw-r--r--src/game/client/game_client.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/game/client/game_client.cpp b/src/game/client/game_client.cpp
index a461fdee..f1c8e49c 100644
--- a/src/game/client/game_client.cpp
+++ b/src/game/client/game_client.cpp
@@ -2762,6 +2762,14 @@ void render_game()
 			emoticon_selector_active = false;
 		}
 	}
+	
+	if(client_connection_problems())
+	{
+		gfx_mapscreen(0, 0, 400, 300);
+		const char *text = "Connection Problems...";
+		float w = gfx_pretty_text_width(24, text, -1);
+		gfx_pretty_text(200-w/2, 50, 24, text, -1);
+	}
 
 	// render score board
 	if(inp_key_pressed(KEY_TAB) || // user requested