Browse Source

engine: client: deprecate and remove ChangeInstance menu call

pull/2/head
Alibek Omarov 2 years ago
parent
commit
fa09854671
  1. 5
      engine/client/cl_gameui.c

5
engine/client/cl_gameui.c

@ -1060,10 +1060,7 @@ pfnChangeInstance
*/ */
static void GAME_EXPORT pfnChangeInstance( const char *newInstance, const char *szFinalMessage ) static void GAME_EXPORT pfnChangeInstance( const char *newInstance, const char *szFinalMessage )
{ {
if( !szFinalMessage ) szFinalMessage = ""; Con_Reportf( S_ERROR "ChangeInstance menu call is deprecated!\n" );
if( !newInstance || !*newInstance ) return;
Host_NewInstance( newInstance, szFinalMessage );
} }
/* /*

Loading…
Cancel
Save