diff options
author | Tim Angus <tim@ngus.net> | 2005-12-11 16:41:27 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2005-12-11 16:41:27 +0000 |
commit | 65b823bf367034c204d370a6a73965a196072153 (patch) | |
tree | b7473da41151546fad6252ec70ca14b92b77046d /src/qcommon/cmd.c | |
parent | d28c9b3a4178a8d653dc479d385f60969c241bdb (diff) |
* Added trap_FS_GetFileList to cgame, so it's not longer necessary to hack
around it not being there
* Removed Q3 console notify code and improved cgame rendered notify area
* Sorted out pain blend texture coordinates
Diffstat (limited to 'src/qcommon/cmd.c')
-rw-r--r-- | src/qcommon/cmd.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/qcommon/cmd.c b/src/qcommon/cmd.c index eb52e3f6..2968f708 100644 --- a/src/qcommon/cmd.c +++ b/src/qcommon/cmd.c @@ -416,6 +416,18 @@ void Cmd_ArgsBuffer( char *buffer, int bufferLength ) { /* ============ +Cmd_LiteralArgsBuffer + +The interpreted versions use this because +they can't have pointers returned to them +============ +*/ +void Cmd_LiteralArgsBuffer( char *buffer, int bufferLength ) { + Q_strncpyz( buffer, cmd_cmd, bufferLength ); +} + +/* +============ Cmd_Cmd Retrieve the unmodified command string @@ -451,6 +463,7 @@ void Cmd_TokenizeString( const char *text_in ) { // clear previous args cmd_argc = 0; + cmd_cmd[ 0 ] = '\0'; if ( !text_in ) { return; |