mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Don't append a '\' at the beginning during autocompletion
This commit is contained in:
parent
9150d1cc44
commit
513fe7773f
1 changed files with 2 additions and 0 deletions
|
@ -2596,6 +2596,7 @@ void Field_CompleteCommand(char* cmd,
|
|||
else
|
||||
completionString = Cmd_Argv(completionArgument - 1);
|
||||
|
||||
#if 0
|
||||
#ifndef DEDICATED
|
||||
// add a '\' to the start of the buffer if it might be sent as chat otherwise
|
||||
if (con_autochat->integer && completionField->buffer[0] &&
|
||||
|
@ -2616,6 +2617,7 @@ void Field_CompleteCommand(char* cmd,
|
|||
|
||||
completionField->buffer[0] = '\\';
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
if (completionArgument > 1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue