directory paths should be ok now (not using localinfos)

This commit is contained in:
Pavol Marko 2004-03-10 16:28:17 +00:00
parent fbb6b260a6
commit 7206639ef9

View File

@ -225,6 +225,7 @@ int Spawn( edict_t *pent ) {
// ###### Initialize commands prefixes
g_commands.registerPrefix( "amx" );
g_commands.registerPrefix( "amxx" );
g_commands.registerPrefix( "say" );
g_commands.registerPrefix( "admin_" );
g_commands.registerPrefix( "sm_" );
@ -243,9 +244,6 @@ 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();
@ -277,7 +275,7 @@ int Spawn( edict_t *pent ) {
memset(g_players[0].flags,-1,sizeof(g_players[0].flags));
// ###### Load AMX scripts
g_plugins.loadPluginsFromFile( "addons/amxx/plugins.ini" );
g_plugins.loadPluginsFromFile( "addons/amxx/plugins.ini" ); // :TODO: Where the hell should this be!?!?!
// ###### Call precache forward function
g_dontprecache = false;