mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2025-02-08 17:32:14 +00:00
Added a newline to the say messages from the server
This commit is contained in:
parent
43e74a8940
commit
78f35019e3
1 changed files with 5 additions and 2 deletions
|
@ -5,6 +5,9 @@
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
//
|
//
|
||||||
// $Log$
|
// $Log$
|
||||||
|
// Revision 1.6 2002/02/26 03:58:19 jbravo
|
||||||
|
// Added a newline to the say messages from the server
|
||||||
|
//
|
||||||
// Revision 1.5 2002/01/11 19:48:30 jbravo
|
// Revision 1.5 2002/01/11 19:48:30 jbravo
|
||||||
// Formatted the source in non DOS format.
|
// Formatted the source in non DOS format.
|
||||||
//
|
//
|
||||||
|
@ -462,11 +465,11 @@ qboolean ConsoleCommand( void ) {
|
||||||
|
|
||||||
if (g_dedicated.integer) {
|
if (g_dedicated.integer) {
|
||||||
if (Q_stricmp (cmd, "say") == 0) {
|
if (Q_stricmp (cmd, "say") == 0) {
|
||||||
trap_SendServerCommand( -1, va("print \"server: %s\"", ConcatArgs(1) ) );
|
trap_SendServerCommand( -1, va("print \"server: %s\n\"", ConcatArgs(1) ) );
|
||||||
return qtrue;
|
return qtrue;
|
||||||
}
|
}
|
||||||
// everything else will also be printed as a say command
|
// everything else will also be printed as a say command
|
||||||
trap_SendServerCommand( -1, va("print \"server: %s\"", ConcatArgs(0) ) );
|
trap_SendServerCommand( -1, va("print \"server: %s\n\"", ConcatArgs(0) ) );
|
||||||
return qtrue;
|
return qtrue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue