Guest User

Untitled

a guest
Jul 20th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.58 KB | None | 0 0
  1.     // [BC] If we're the server, tell clients that the map has finished.
  2.     if ( NETWORK_GetState( ) == NETSTATE_SERVER )
  3.     {
  4.         SERVERCOMMANDS_MapExit( position, nextlevel.GetChars() );
  5.  
  6.         // [BB] It's possible that the selected next map doesn't coincide with the next map
  7.         // in the rotation, e.g. exiting to a secret map allows to leave the rotation.
  8.         // In this case, we may not advance to the next map in the rotation.
  9.         if ( ( MAPROTATION_GetNextMap( ) != NULL )
  10.             && ( stricmp ( MAPROTATION_GetNextMap( )->mapname, nextlevel.GetChars() ) == 0 ) )
  11.             MAPROTATION_AdvanceMap();
  12.     }
Add Comment
Please, Sign In to add comment