fixed get_map_info function

This commit is contained in:
Lukasz Wlasinksi
2005-09-03 13:59:33 +00:00
parent 4be88a5015
commit e239801671
2 changed files with 3 additions and 4 deletions

View File

@ -187,6 +187,8 @@ void ServerDeactivate() {
for ( i=DODMAX_WEAPONS-DODMAX_CUSTOMWPNS;i<DODMAX_WEAPONS;i++)
weaponData[i].needcheck = false;
g_map.Init();
RETURN_META(MRES_IGNORED);
}
@ -379,10 +381,7 @@ void OnAmxxAttach() {
g_rank.loadRank( MF_BuildPathname("%s",
get_localinfo("dodstats","addons/amxmodx/data/dodstats.dat") ) );
}
}
void ServerActivate(edict_t *pEdictList, int edictCount, int clientMax)
{
g_map.Init();
}