diff options
author | Tim Angus <tim@ngus.net> | 2003-12-02 17:28:22 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2003-12-02 17:28:22 +0000 |
commit | bd34e944e5c9835cc96c1b877dc0b30cfd19f32f (patch) | |
tree | 9cfb14006dab0f7145c7d8cfc7d9e7456f5824e1 /src/game/g_svcmds.c | |
parent | 743e132f5d95782e57324bfefdd652d86f621a5d (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.c | 17 |
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 ) |