engine: client: deprecate and remove ChangeInstance menu call

This commit is contained in:
Alibek Omarov 2022-06-15 18:22:57 +03:00
parent 78d2cd848a
commit fa09854671

View File

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