From 7206639ef9d8ba990a965fec029c78af3c5b7876 Mon Sep 17 00:00:00 2001 From: Pavol Marko Date: Wed, 10 Mar 2004 16:28:17 +0000 Subject: [PATCH] directory paths should be ok now (not using localinfos) --- amxmodx/meta_api.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/amxmodx/meta_api.cpp b/amxmodx/meta_api.cpp index 466c6a44..d055c7e1 100755 --- a/amxmodx/meta_api.cpp +++ b/amxmodx/meta_api.cpp @@ -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;