Remove some superflouos output from the dedicated server

floating-point
Günther Brammer 2012-11-30 22:16:59 +01:00
parent d9c3c1d713
commit 327bfa31e7
2 changed files with 4 additions and 2 deletions

View File

@ -344,8 +344,10 @@ bool C4PlayerControlAssignment::ResolveRefs(C4PlayerControlAssignmentSet *pParen
else
{
// non-reference: check if the assignment was valid
#ifndef USE_CONSOLE
if (rKeyComboItem.Key == KEY_Default)
LogF("WARNING: Control %s of set %s contains undefined key \"%s.\"", GetControlName(), pParentSet->GetName(), szKeyName);
LogF("WARNING: Control %s of set %s contains undefined key \"%s\".", GetControlName(), pParentSet->GetName(), szKeyName);
#endif
// ...and just keep this item.
NewCombo.push_back(rKeyComboItem);
}

View File

@ -58,7 +58,7 @@ static void readline_callback (char * line)
C4StdInProc::C4StdInProc()
{
rl_callback_handler_install (">", readline_callback);
rl_callback_handler_install ("", readline_callback);
}
C4StdInProc::~C4StdInProc()