Browse Source

engine: fix Com_ParseFile call

pull/2/head
Alibek Omarov 3 years ago
parent
commit
901e52615b
  1. 2
      engine/common/cmd.c

2
engine/common/cmd.c

@ -596,7 +596,7 @@ void Cmd_TokenizeString( const char *text ) @@ -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;

Loading…
Cancel
Save