From 04ee7c3a5577d2b94222ffaa16be40250d2eedc7 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Fri, 12 Jul 2019 22:43:51 +0300 Subject: [PATCH] engine: fix build --- engine/client/cl_main.c | 3 +-- engine/client/client.h | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/client/cl_main.c b/engine/client/cl_main.c index 8c36cb49..cba25a0f 100644 --- a/engine/client/cl_main.c +++ b/engine/client/cl_main.c @@ -2731,8 +2731,7 @@ void CL_WarnLostSplitPacket( void ) { CL_Disconnect(); UI_ShowConnectionWarning(); - MsgDev( D_WARN, "Too many lost packets! Showing Network options menu\n" ); - + Con_DPrintf( S_WARN "Too many lost packets! Showing Network options menu\n" ); } } diff --git a/engine/client/client.h b/engine/client/client.h index d5bb44f9..4c6930f7 100644 --- a/engine/client/client.h +++ b/engine/client/client.h @@ -1075,6 +1075,7 @@ void UI_CharEvent( int key ); qboolean UI_MouseInRect( void ); qboolean UI_IsVisible( void ); void UI_ResetPing( void ); +void UI_ShowConnectionWarning( void ); void UI_AddTouchButtonToList( const char *name, const char *texture, const char *command, unsigned char *color, int flags ); void pfnPIC_Set( HIMAGE hPic, int r, int g, int b, int a ); void pfnPIC_Draw( int x, int y, int width, int height, const wrect_t *prc );