From 379d2e9ee1f2980e1aa3a4eccf6cd32903b9149d Mon Sep 17 00:00:00 2001 From: arQon Date: Thu, 19 Jan 2017 03:56:09 -0800 Subject: [PATCH] can't try to autocomplete keynames in the dedserver build - there aren't any keys :) --- code/qcommon/common.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/qcommon/common.cpp b/code/qcommon/common.cpp index adb46c0..9ee8e37 100644 --- a/code/qcommon/common.cpp +++ b/code/qcommon/common.cpp @@ -2873,9 +2873,13 @@ void Field_AutoCompleteDemoNameWrite( int startArg, int compArg ) #undef DEMO_EXT +#ifndef DEDICATED + void Field_AutoCompleteKeyName( int startArg, int compArg ) { Key_KeyNameCompletion( FindMatches ); if ( Field_CompleteShortestMatch( startArg, compArg ) ) Key_KeyNameCompletion( PrintMatches ); } + +#endif