making sure basedir is set

This commit is contained in:
Johnny Bergström 2004-03-10 08:31:51 +00:00
parent 923f3a987f
commit de0cf4da9a

View File

@ -243,6 +243,9 @@ int Spawn( edict_t *pent ) {
amx_config.clear();
}
// ###### Make sure basedir is set
get_localinfo("amxx_basedir" , "addons/amxx" );
// ###### Load modules
int loaded = loadModules( "addons/amxx/modules.ini" );
attachModules();