Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // [BC] If we're the server, tell clients that the map has finished.
- if ( NETWORK_GetState( ) == NETSTATE_SERVER )
- {
- SERVERCOMMANDS_MapExit( position, nextlevel.GetChars() );
- // [BB] It's possible that the selected next map doesn't coincide with the next map
- // in the rotation, e.g. exiting to a secret map allows to leave the rotation.
- // In this case, we may not advance to the next map in the rotation.
- if ( ( MAPROTATION_GetNextMap( ) != NULL )
- && ( stricmp ( MAPROTATION_GetNextMap( )->mapname, nextlevel.GetChars() ) == 0 ) )
- MAPROTATION_AdvanceMap();
- }
Add Comment
Please, Sign In to add comment