================== idAsyncClient::InitGame ================== */
| 715 | ================== |
| 716 | */ |
| 717 | void idAsyncClient::InitGame( int serverGameInitId, int serverGameFrame, int serverGameTime, const idDict &serverSI ) { |
| 718 | gameInitId = serverGameInitId; |
| 719 | gameFrame = snapshotGameFrame = serverGameFrame; |
| 720 | gameTime = snapshotGameTime = serverGameTime; |
| 721 | gameTimeResidual = 0; |
| 722 | memset( userCmds, 0, sizeof( userCmds ) ); |
| 723 | |
| 724 | for ( int i = 0; i < MAX_ASYNC_CLIENTS; i++ ) { |
| 725 | sessLocal.mapSpawnData.userInfo[ i ].Clear(); |
| 726 | } |
| 727 | |
| 728 | sessLocal.mapSpawnData.serverInfo = serverSI; |
| 729 | } |
| 730 | |
| 731 | /* |
| 732 | ================== |