From df2a96e2d7f7bf56d05685f4c7aeb37476bf7e26 Mon Sep 17 00:00:00 2001 From: Felix Geyer Date: Wed, 24 Mar 2004 08:21:13 +0000 Subject: [PATCH] removed map descriptions --- plugins/mapsmenu.sma | 28 +++++++++------------------- 1 file changed, 9 insertions(+), 19 deletions(-) diff --git a/plugins/mapsmenu.sma b/plugins/mapsmenu.sma index ade9ca2f..f8a86ea4 100755 --- a/plugins/mapsmenu.sma +++ b/plugins/mapsmenu.sma @@ -34,12 +34,10 @@ #include #include -#include #define MAX_MAPS 64 new g_mapName[MAX_MAPS][32] -new g_mapDesc[MAX_MAPS][32] new g_mapNums new g_menuPosition[33] @@ -184,14 +182,14 @@ displayVoteMapsMenu(id,pos) { ++b if ( g_cstrikeRunning) - len += format(menuBody[len],511-len,"\d%d. %s^n\w", b ,g_mapDesc[ a ]) + len += format(menuBody[len],511-len,"\d%d. %s^n\w", b ,g_mapName[ a ]) else - len += format(menuBody[len],511-len,"#. %s^n", g_mapDesc[ a ]) + len += format(menuBody[len],511-len,"#. %s^n", g_mapName[ a ]) } else { keys |= (1< 31 ) - { - copy(g_mapDesc[g_mapNums],28, szDesc ) - g_mapDesc[g_mapNums][28] = g_mapDesc[g_mapNums][29] = g_mapDesc[g_mapNums][30] = '.' - g_mapDesc[g_mapNums][31] = 0 - } - else copy(g_mapDesc[g_mapNums],31, szDesc ) - g_mapNums++ }