From de0cf4da9a2aff638dd66854b59dc0c7d9d7cf85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johnny=20Bergstr=C3=B6m?= Date: Wed, 10 Mar 2004 08:31:51 +0000 Subject: [PATCH] making sure basedir is set --- amxmodx/meta_api.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/amxmodx/meta_api.cpp b/amxmodx/meta_api.cpp index 1f031dc4..466c6a44 100755 --- a/amxmodx/meta_api.cpp +++ b/amxmodx/meta_api.cpp @@ -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();