summaryrefslogtreecommitdiff
path: root/src/ui/ui_gameinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/ui_gameinfo.c')
-rw-r--r--src/ui/ui_gameinfo.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/ui/ui_gameinfo.c b/src/ui/ui_gameinfo.c
index ad31218e..f6d0d4d3 100644
--- a/src/ui/ui_gameinfo.c
+++ b/src/ui/ui_gameinfo.c
@@ -173,11 +173,6 @@ void UI_LoadArenas( void ) {
type = Info_ValueForKey( ui_arenaInfos[ n ], "type" );
// if no type specified, it will be treated as "ffa"
- if( *type && strstr( type, "tremulous" ) )
- uiInfo.mapList[ uiInfo.mapCount ].typeBits |= ( 1 << 0 );
- else
- continue; //not a trem map
-
uiInfo.mapList[uiInfo.mapCount].cinematic = -1;
uiInfo.mapList[uiInfo.mapCount].mapLoadName = String_Alloc(Info_ValueForKey(ui_arenaInfos[n], "map"));
uiInfo.mapList[uiInfo.mapCount].mapName = String_Alloc(Info_ValueForKey(ui_arenaInfos[n], "longname"));
@@ -293,7 +288,7 @@ char *UI_GetBotInfoByName( const char *name ) {
return NULL;
}
-int UI_GetNumBots() {
+int UI_GetNumBots( void ) {
return ui_numBots;
}