From fa09854671a1dc99f3674264396dfd211113e1de Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Wed, 15 Jun 2022 18:22:57 +0300 Subject: [PATCH] engine: client: deprecate and remove ChangeInstance menu call --- engine/client/cl_gameui.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/engine/client/cl_gameui.c b/engine/client/cl_gameui.c index 6308e2e6..f295e701 100644 --- a/engine/client/cl_gameui.c +++ b/engine/client/cl_gameui.c @@ -1060,10 +1060,7 @@ pfnChangeInstance */ static void GAME_EXPORT pfnChangeInstance( const char *newInstance, const char *szFinalMessage ) { - if( !szFinalMessage ) szFinalMessage = ""; - if( !newInstance || !*newInstance ) return; - - Host_NewInstance( newInstance, szFinalMessage ); + Con_Reportf( S_ERROR "ChangeInstance menu call is deprecated!\n" ); } /*