From 5c6a48b2ff362a70416a6a00fda7d06e0f276f2d Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Sat, 1 Jul 2023 02:43:29 +0100 Subject: i am in hell --- src/T2DLL/T2TenantPlugin.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/T2DLL/T2TenantPlugin.cpp') diff --git a/src/T2DLL/T2TenantPlugin.cpp b/src/T2DLL/T2TenantPlugin.cpp index e642b84..e5c8082 100644 --- a/src/T2DLL/T2TenantPlugin.cpp +++ b/src/T2DLL/T2TenantPlugin.cpp @@ -25,14 +25,14 @@ DWORD T2TenantPlugin::GetShopPluginType() { typedef T2TemplatePlugin *(MSVC_STDCALL* ConstructTemplatePluginType) (T2PluginSpecifier *, CResFile *, T2WorldDef *, T2TenantPlugin *); void T2TenantPlugin::LoadT2TenantDef(T2WorldDef* worldDef) { - ConstructTemplatePluginType func = (ConstructTemplatePluginType) GetProcAddress((HMODULE) mModuleHandle, "ConstructTemplatePlugin"); + ConstructTemplatePluginType theFunc = (ConstructTemplatePluginType) GetProcAddress((HMODULE) mModuleHandle, "ConstructTemplatePlugin"); #line 41 - _ASSERT(func); + _ASSERT(theFunc); CResFile resFile; resFile.OpenResource(mModuleHandle, 1, 'TnDf'); - T2TemplatePlugin *plugin = func(&mSpecifier, &resFile, worldDef, this); + T2TemplatePlugin *theDef = theFunc(&mSpecifier, &resFile, worldDef, this); resFile.End(); - mTemplatePlugin = plugin; + mTemplatePlugin = theDef; } -- cgit v1.2.3