From 63e834c35381a115876bf2c22834417af9788d8f Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Tue, 11 Dec 2007 21:55:52 +0000 Subject: added connection problems sign --- src/game/client/game_client.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/game') 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 -- cgit 1.4.1