fixing travis-ci build

This commit is contained in:
jeefo 2016-09-13 19:13:30 +03:00
commit 4a48758f3a

View file

@ -149,7 +149,7 @@ void DisplayMenuToClient (edict_t *ent, MenuId menu)
break;
}
}
char *displayText = (g_gameFlags & (GAME_XASH | GAME_MOBILITY)) && !yb_display_menu_text.GetBool () ? " " : menuPtr->text.GetBuffer ();
const char *displayText = ((g_gameFlags & (GAME_XASH | GAME_MOBILITY)) && !yb_display_menu_text.GetBool ()) ? " " : menuPtr->text.GetBuffer ();
while (strlen (displayText) >= 64)
{
@ -585,7 +585,6 @@ void CheckWelcomeMessage (void)
}
}
void AddLogEntry (bool outputToConsole, int logLevel, const char *format, ...)
{
// this function logs a message to the message log file root directory.