mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Scripting: Fix another warning when building statically
(cherry picked from commit 498c1e22ca)
This commit is contained in:
@@ -1043,6 +1043,7 @@ std::shared_ptr<ModuleReference>
|
||||
return ScriptReloadMgr::AcquireModuleReferenceOfContext(
|
||||
sScriptRegistryCompositum->GetScriptContextOfScriptName(scriptname));
|
||||
#else
|
||||
(void)scriptname;
|
||||
// Something went wrong when this function is used in
|
||||
// a static linked context.
|
||||
WPAbort();
|
||||
|
||||
Reference in New Issue
Block a user