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 @@ -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" );
}
/*

Loading…
Cancel
Save