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++ }