mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 11:35:05 +08:00
Fix implicit function declaration. Fix struct declaration in parameter list
This commit is contained in:
@@ -16,6 +16,7 @@ GNU General Public License for more details.
|
||||
#include "common.h"
|
||||
#include "server.h"
|
||||
#include "net_encode.h"
|
||||
#include "library.h"
|
||||
|
||||
int SV_UPDATE_BACKUP = SINGLEPLAYER_BACKUP;
|
||||
|
||||
@@ -945,4 +946,4 @@ State machine exec changelevel path
|
||||
void SV_ExecChangeLevel( void )
|
||||
{
|
||||
SV_ChangeLevel( GameState->loadGame, GameState->levelName, GameState->landmarkName, GameState->backgroundMap );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -132,7 +132,7 @@ void Log_Printf( const char *fmt, ... )
|
||||
}
|
||||
}
|
||||
|
||||
static void Log_PrintServerCvar( const char *var_name, const char *var_value, const char *unused2, void *unused3 )
|
||||
static void Log_PrintServerCvar( const char *var_name, const char *var_value, void *unused2, void *unused3 )
|
||||
{
|
||||
Log_Printf( "Server cvar \"%s\" = \"%s\"\n", var_name, var_value );
|
||||
}
|
||||
@@ -190,4 +190,4 @@ qboolean SV_ServerLog_f( sv_client_t *cl )
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user