mirror of
https://github.com/dhewm/dhewm3.git
synced 2024-11-23 04:51:56 +00:00
Master server working again
This commit is contained in:
parent
88559af603
commit
bbbc23dbdd
1 changed files with 4 additions and 0 deletions
|
@ -2069,6 +2069,10 @@ void idAsyncServer::ProcessGetInfoMessage( const netadr_t from, const idBitMsg &
|
|||
outMsg.WriteString( sessLocal.mapSpawnData.userInfo[i].GetString( "ui_name", "Player" ) );
|
||||
}
|
||||
outMsg.WriteByte( MAX_ASYNC_CLIENTS );
|
||||
// Stradex: Originally Doom3 did outMsg.WriteLong( fileSystem->GetOSMask() ); here
|
||||
// dhewm3 eliminated GetOSMask() and WriteLong() became WriteInt() as it's supposed to write an int32
|
||||
// Sending -1 (instead of nothing at all) restores compatibility with id's masterserver.
|
||||
outMsg.WriteInt( -1 );
|
||||
|
||||
serverPort.SendPacket( from, outMsg.GetData(), outMsg.GetSize() );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue