about summary refs log tree commit diff
path: root/src/game/client/gc_console.cpp
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2008-03-23 13:51:11 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2008-03-23 13:51:11 +0000
commitd3395a8e0a4f148b1b5984eca7d3f1380f10a67f (patch)
tree02bfccaa5834475755e23fe6bb5f4c3f6c20e1cc /src/game/client/gc_console.cpp
parent35aaf25a32fbc9753caa5cb5159ce389473bafa7 (diff)
downloadzcatch-d3395a8e0a4f148b1b5984eca7d3f1380f10a67f.tar.gz
zcatch-d3395a8e0a4f148b1b5984eca7d3f1380f10a67f.zip
fixed rendering error with the katana and hook. made the rcon more verbose about entering password
Diffstat (limited to 'src/game/client/gc_console.cpp')
-rw-r--r--src/game/client/gc_console.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/game/client/gc_console.cpp b/src/game/client/gc_console.cpp
index 892c11f7..4eb14118 100644
--- a/src/game/client/gc_console.cpp
+++ b/src/game/client/gc_console.cpp
@@ -572,10 +572,15 @@ void console_render()
 		const char *prompt = "> ";
 		if(console_type)
 		{
-			if(client_rcon_authed())
-				prompt = "rcon> ";
+			if(client_state() == CLIENTSTATE_ONLINE)
+			{
+				if(client_rcon_authed())
+					prompt = "rcon> ";
+				else
+					prompt = "ENTER PASSWORD> ";
+			}
 			else
-				prompt = "rcon password> ";
+				prompt = "NOT CONNECTED> ";
 		}
 
 		gfx_text_ex(&cursor, prompt, -1);