VITA: Prohibit exeuction of ParseClientCommand

This commit is contained in:
cypress 2023-12-03 14:45:10 -05:00
parent c8f0ac928a
commit e5a45a1b93

View file

@ -356,8 +356,10 @@ void Key_Console (int key)
// for clientside cmds // for clientside cmds
if (cls.state == ca_connected) if (cls.state == ca_connected)
{ {
#ifndef VITA
pr_global_struct->CMD_STRING = (key_lines[edit_line-1]+1 - pr_strings); pr_global_struct->CMD_STRING = (key_lines[edit_line-1]+1 - pr_strings);
PR_ExecuteProgram (pr_global_struct->ParseClientCommand); PR_ExecuteProgram (pr_global_struct->ParseClientCommand);
#endif // VITA
} }
return; return;
case K_TAB: case K_TAB: