mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-09-19 20:26:14 +08:00
[saco] Update DoProcessStuff()
* Add `CNetGame::Process()` stub * Add `CNetGame::UpdateNetwork()` stub * Implement `GetPacketID(...)` * Implement `HasTimestamps()`
This commit is contained in:
@ -349,6 +349,18 @@ void DoInitStuff()
|
||||
void DoProcessStuff()
|
||||
{
|
||||
DoInitStuff();
|
||||
|
||||
SetupD3DFog(TRUE);
|
||||
|
||||
// Process the netgame if it's active.
|
||||
if(pNetGame) {
|
||||
//Sleep(0); // This hands the context over to raknet
|
||||
pNetGame->Process();
|
||||
}
|
||||
|
||||
if(pAudioStream) {
|
||||
pAudioStream->Process();
|
||||
}
|
||||
}
|
||||
|
||||
//----------------------------------------------------
|
||||
|
Reference in New Issue
Block a user