1.1 --- a/core/sourcemod.cpp Sun Sep 23 00:35:28 2007 +0000
1.2 +++ b/core/sourcemod.cpp Sun Sep 23 06:51:21 2007 +0000
1.3 @@ -63,7 +63,6 @@
1.4 IdentityToken_t *g_pCoreIdent = NULL;
1.5 IForward *g_pOnMapEnd = NULL;
1.6 bool g_Loaded = false;
1.7 -IExtension *g_pGameExt = NULL;
1.8
1.9 typedef int (*GIVEENGINEPOINTER)(ISourcePawnEngine *);
1.10 typedef int (*GIVEENGINEPOINTER2)(ISourcePawnEngine *, unsigned int api_version);
1.11 @@ -406,8 +405,8 @@
1.12 if ((game_ext = g_pGameConf->GetKeyValue("GameExtension")) != NULL)
1.13 {
1.14 char path[PLATFORM_MAX_PATH];
1.15 - UTIL_Format(path, sizeof(path), "%s.ext." PLATFORM_LIB_EXT, game_ext);
1.16 - g_pGameExt = g_Extensions.LoadAutoExtension(path);
1.17 + UTIL_Format(path, sizeof(path), "games/%s.ext." PLATFORM_LIB_EXT, game_ext);
1.18 + g_Extensions.LoadAutoExtension(path);
1.19 }
1.20
1.21 /* Run the first pass */