Skip to content

Commit

Permalink
command: Disable cgame tab completion #45
Browse files Browse the repository at this point in the history
  • Loading branch information
wtfbbqhax committed Oct 18, 2017
1 parent 20d092c commit 245e91c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/qcommon/cmd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -807,9 +807,14 @@ void Cmd_CompleteArgument( const char *command, char *args, int argNum )
{
cmd_function_t *cmd;

// FIXIT-H: There needs to be a way to toggle this functionality at runtime
// rather than just crashing when a cgame doesn't provide support. #45
// https://github.com/GrangerHub/tremulous/issues/45
#if 0
#ifndef DEDICATED
// Forward command argument completion to CGAME VM
if( cls.cgame && !VM_Call( cls.cgame, CG_CONSOLE_COMPLETARGUMENT, argNum ) )
#endif
#endif
// Call local completion if VM doesn't pick up
for( cmd = cmd_functions; cmd; cmd = cmd->next )
Expand Down

0 comments on commit 245e91c

Please sign in to comment.