mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-06 12:25:00 +08:00
host: common: switch host_writeconfig to direct function call
This commit is contained in:
committed by
a1batross
parent
2c26601bee
commit
0ba45d343e
@@ -914,13 +914,6 @@ static void Host_Userconfigd_f( void )
|
||||
Mem_Free( t );
|
||||
}
|
||||
|
||||
#if !XASH_DEDICATED
|
||||
static void Host_WriteConfig_f( void )
|
||||
{
|
||||
Host_WriteConfig();
|
||||
}
|
||||
#endif
|
||||
|
||||
#if XASH_ENGINE_TESTS
|
||||
static void Host_RunTests( int stage )
|
||||
{
|
||||
@@ -1154,7 +1147,7 @@ static void Host_InitCommon( int argc, char **argv, const char *progname, qboole
|
||||
Cmd_AddRestrictedCommand( "userconfigd", Host_Userconfigd_f, "execute all scripts from userconfig.d" );
|
||||
|
||||
#if !XASH_DEDICATED
|
||||
Cmd_AddRestrictedCommand( "host_writeconfig", Host_WriteConfig_f, "save current configuration" );
|
||||
Cmd_AddRestrictedCommand( "host_writeconfig", Host_WriteConfig, "save current configuration" );
|
||||
#endif
|
||||
|
||||
Image_Init();
|
||||
|
||||
Reference in New Issue
Block a user