Use internal sp::Environment directly in core/logic.

Also remove ISourcePawnEngine and ISourcePawnEngine2 pointers since
they're now redundant.
This commit is contained in:
David Anderson
2026-05-17 15:22:58 -07:00
parent fba9d713b7
commit 890c7119fe
35 changed files with 130 additions and 167 deletions
+2 -2
View File
@@ -422,8 +422,8 @@ CoreProviderImpl::CoreProviderImpl()
this->playerhelpers = &g_Players;
this->gamehelpers = &g_HL2;
this->menus = &g_Menus;
this->spe1 = &g_pSourcePawn;
this->spe2 = &g_pSourcePawn2;
this->spe1 = &g_pPawnEnv;
this->spe2 = &g_pPawnEnv;
this->spe_env = &g_pPawnEnv;
this->GetCoreConfigValue = get_core_config_value;
this->DoGlobalPluginLoads = do_global_plugin_loads;