From 4a48758f3a2b9a8996b9bb0f3b711b8e60fcba32 Mon Sep 17 00:00:00 2001 From: jeefo Date: Tue, 13 Sep 2016 19:13:30 +0300 Subject: [PATCH] fixing travis-ci build --- source/support.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/support.cpp b/source/support.cpp index c168e4d..66a5898 100644 --- a/source/support.cpp +++ b/source/support.cpp @@ -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.