summaryrefslogtreecommitdiff
path: root/src/game/g_svcmds.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2003-12-02 17:28:22 +0000
committerTim Angus <tim@ngus.net>2003-12-02 17:28:22 +0000
commitbd34e944e5c9835cc96c1b877dc0b30cfd19f32f (patch)
tree9cfb14006dab0f7145c7d8cfc7d9e7456f5824e1 /src/game/g_svcmds.c
parent743e132f5d95782e57324bfefdd652d86f621a5d (diff)
* Changes for OverFlow's mofo model
* Map rotation system
Diffstat (limited to 'src/game/g_svcmds.c')
-rw-r--r--src/game/g_svcmds.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/game/g_svcmds.c b/src/game/g_svcmds.c
index c14eddef..a589734a 100644
--- a/src/game/g_svcmds.c
+++ b/src/game/g_svcmds.c
@@ -518,6 +518,23 @@ qboolean ConsoleCommand( void )
return qtrue;
}
+ if( Q_stricmp( cmd, "mapRotation" ) == 0 )
+ {
+ char *rotationName = ConcatArgs( 1 );
+
+ if( !G_StartMapRotation( rotationName ) )
+ G_Printf( "Can't find map rotation %s\n", rotationName );
+
+ return qtrue;
+ }
+
+ if( Q_stricmp( cmd, "stopMapRotation" ) == 0 )
+ {
+ G_StopMapRotation( );
+
+ return qtrue;
+ }
+
if( g_dedicated.integer )
{
if( Q_stricmp( cmd, "say" ) == 0 )