summaryrefslogtreecommitdiff
path: root/src/game/g_maprotation.c
diff options
context:
space:
mode:
authorM. Kristall <mkpdev@gmail.com>2009-10-03 12:25:16 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:15:56 +0000
commit128465097ee6fbba8670ccb27a40dc1074a3ea95 (patch)
tree8ab8bf47fd8ecbdc2451684930df81353805fc15 /src/game/g_maprotation.c
parent788fdf35246001ba4178dcac7665954479871f48 (diff)
* Move some server commands into game and refactor game commands
Diffstat (limited to 'src/game/g_maprotation.c')
-rw-r--r--src/game/g_maprotation.c9
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;
}
/*