about summary refs log tree commit diff
path: root/src/game
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2009-01-24 12:32:53 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2009-01-24 12:32:53 +0000
commit0810f3a526ba42797201aacb0600992208fba56c (patch)
tree2464e44e1156e23713124ccb5808b93bf3dc13fb /src/game
parent5b20cd6cc99a5c0fee4e1b91890b7b4338785666 (diff)
downloadzcatch-0810f3a526ba42797201aacb0600992208fba56c.tar.gz
zcatch-0810f3a526ba42797201aacb0600992208fba56c.zip
removed the no matching text in the console
Diffstat (limited to 'src/game')
-rw-r--r--src/game/client/components/console.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/game/client/components/console.cpp b/src/game/client/components/console.cpp
index d70c83a5..201f145f 100644
--- a/src/game/client/components/console.cpp
+++ b/src/game/client/components/console.cpp
@@ -369,9 +369,7 @@ void CONSOLE::on_render()
 		gfx_text(0, screen.w-version_width-5, y, font_size, buf, -1);
 
 		// render possible commands
-		if(console->input.get_string()[0] == 0)
-			gfx_text_ex(&info.cursor, "No matching possible", -1);
-		else
+		if(console->input.get_string()[0] != 0)
 			console_possible_commands(console->completion_buffer, console->completion_flagmask, possible_commands_render_callback, &info);
 		gfx_text_color(1,1,1,1);