diff options
Diffstat (limited to 'src/game/g_maprotation.c')
| -rw-r--r-- | src/game/g_maprotation.c | 9 | 
1 files changed, 3 insertions, 6 deletions
diff --git a/src/game/g_maprotation.c b/src/game/g_maprotation.c index 9ae4f209..a202d4be 100644 --- a/src/game/g_maprotation.c +++ b/src/game/g_maprotation.c @@ -651,7 +651,7 @@ G_AdvanceMapRotation  Increment the current map rotation  ===============  */ -qboolean G_AdvanceMapRotation( void ) +void G_AdvanceMapRotation( void )  {    mapRotation_t           *mr;    mapRotationEntry_t      *mre; @@ -661,7 +661,7 @@ qboolean G_AdvanceMapRotation( void )    mapConditionType_t      mct;    if( ( currentRotation = g_currentMapRotation.integer ) == NOT_ROTATING ) -    return qfalse; +    return;    currentMap = G_GetCurrentMap( currentRotation ); @@ -685,8 +685,7 @@ qboolean G_AdvanceMapRotation( void )          case MCT_ROTATION:            G_StartMapRotation( mrc->dest, qtrue ); -          return qtrue; -          break; +          return;          default:          case MCT_ERR: @@ -699,8 +698,6 @@ qboolean G_AdvanceMapRotation( void )    G_SetCurrentMap( nextMap, currentRotation );    G_IssueMapChange( currentRotation ); - -  return qtrue;  }  /*  | 
