mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-15 07:40:44 +02:00
Initial Prey Game integration support.
This commit is contained in:
@@ -255,7 +255,11 @@ void idAsyncServer::ExecuteMapChange( void ) {
|
||||
fileSystem->ClearPureChecksums();
|
||||
|
||||
// make sure the map/gametype combo is good
|
||||
#ifdef PREY
|
||||
strcpy(bestGameType, game->GetBestGameType(cvarSystem->GetCVarString("si_map"), cvarSystem->GetCVarString("si_gametype")));
|
||||
#else
|
||||
game->GetBestGameType( cvarSystem->GetCVarString("si_map"), cvarSystem->GetCVarString("si_gametype"), bestGameType );
|
||||
#endif
|
||||
cvarSystem->SetCVarString("si_gametype", bestGameType );
|
||||
|
||||
// initialize map settings
|
||||
@@ -695,7 +699,11 @@ void idAsyncServer::InitClient( int clientNum, int clientId, int clientRate ) {
|
||||
}
|
||||
|
||||
// let the game know a player connected
|
||||
#ifdef PREY
|
||||
game->ServerClientConnect(clientNum);
|
||||
#else
|
||||
game->ServerClientConnect( clientNum, client.guid );
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user