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:
@@ -1880,7 +1880,11 @@ void idAsyncClient::RunFrame( void ) {
|
||||
bool lastPredictFrame = ( snapshotGameFrame + 1 >= gameFrame && gameTimeResidual + clientPredictTime < USERCMD_MSEC );
|
||||
|
||||
// run client prediction
|
||||
#ifdef PREY
|
||||
gameReturn_t ret = game->ClientPrediction(clientNum, userCmds[snapshotGameFrame & (MAX_USERCMD_BACKUP - 1)]);
|
||||
#else
|
||||
gameReturn_t ret = game->ClientPrediction( clientNum, userCmds[ snapshotGameFrame & ( MAX_USERCMD_BACKUP - 1 ) ], lastPredictFrame );
|
||||
#endif
|
||||
|
||||
idAsyncNetwork::ExecuteSessionCommand( ret.sessionCommand );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user