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.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/ui/ui_gameinfo.c b/src/ui/ui_gameinfo.c
index 18a604b8..95c57c6f 100644
--- a/src/ui/ui_gameinfo.c
+++ b/src/ui/ui_gameinfo.c
@@ -169,7 +169,6 @@ void UI_LoadArenas( void )
char* dirptr;
int i, n;
int dirlen;
- char *type;
ui_numArenas = 0;
uiInfo.mapCount = 0;
@@ -193,10 +192,6 @@ void UI_LoadArenas( void )
for( n = 0; n < ui_numArenas; n++ )
{
- // determine type
- type = Info_ValueForKey( ui_arenaInfos[ n ], "type" );
- // if no type specified, it will be treated as "ffa"
-
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" ) );