From 447da31d05bc37cb62cf2a37e32a765a6c5e77da Mon Sep 17 00:00:00 2001 From: VladimirMangos Date: Tue, 28 Oct 2008 10:14:05 +0300 Subject: [PATCH] Fixed subcommands list output at console. --- src/game/Chat.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/game/Chat.cpp b/src/game/Chat.cpp index d0cdfc25c..625788f8a 100644 --- a/src/game/Chat.cpp +++ b/src/game/Chat.cpp @@ -787,7 +787,13 @@ bool ChatHandler::ShowHelpForSubCommands(ChatCommand *table, char const* cmd, ch if( *subcmd && !hasStringAbbr(table[i].Name, subcmd)) continue; - (list += "\n ") += table[i].Name; + if(m_session) + list += "\n "; + else + list += "\n\r "; + + list += table[i].Name; + if(table[i].ChildCommands) list += " ..."; } -- 2.11.4.GIT