This will be useful for commands that need to read the
entire command-line, as entered in the buffer, for some reason.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13009
d7cf8633-e32d-0410-b094-
e92efae38249
cmd->argc = 0;
cmd->args = NULL;
+ cmd->cmdline = NULL;
while (1)
{
if (!*text)
return;
+ if(!cmd->argc)
+ cmd->cmdline = text;
if (cmd->argc == 1)
cmd->args = text;
struct mempool_s *mempool;
int argc;
+ const char *cmdline;
const char *argv[MAX_ARGS];
const char *null_string;
const char *args;