engine: fix Com_ParseFile call

This commit is contained in:
Alibek Omarov 2021-07-20 16:26:17 +03:00
parent 88ce5fd0b6
commit 901e52615b
1 changed files with 1 additions and 1 deletions

View File

@ -596,7 +596,7 @@ void Cmd_TokenizeString( const char *text )
cmd_args = text;
host.com_ignorebracket = true;
text = COM_ParseFile( text, cmd_token );
text = COM_ParseFile( (char*)text, cmd_token );
host.com_ignorebracket = false;
if( !text ) return;