mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-07 21:01:37 +00:00
feat: fix warning and configuration
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -100,3 +100,5 @@ local.properties
|
|||||||
# !modules/yourmodule
|
# !modules/yourmodule
|
||||||
#
|
#
|
||||||
# ==================
|
# ==================
|
||||||
|
.cache
|
||||||
|
compile_commands.json
|
||||||
4
.vscode/settings.json
vendored
4
.vscode/settings.json
vendored
@@ -118,5 +118,7 @@
|
|||||||
},
|
},
|
||||||
"deno.enable": true,
|
"deno.enable": true,
|
||||||
"deno.path": "deps/deno/bin/deno",
|
"deno.path": "deps/deno/bin/deno",
|
||||||
"deno.lint": true
|
"deno.lint": true,
|
||||||
|
"search.useIgnoreFiles": false,
|
||||||
|
"clangd.onConfigChanged": "restart"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -92,12 +92,12 @@ private:
|
|||||||
};
|
};
|
||||||
ThreatMgr* iThreatMgr;
|
ThreatMgr* iThreatMgr;
|
||||||
public:
|
public:
|
||||||
ThreatRefStatusChangeEvent(uint32 pType) : UnitBaseEvent(pType), iThreatMgr(nullptr), iFValue(0.f)
|
ThreatRefStatusChangeEvent(uint32 pType) : UnitBaseEvent(pType), iFValue(0.f), iThreatMgr(nullptr)
|
||||||
{
|
{
|
||||||
iHostileReference = nullptr;
|
iHostileReference = nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
ThreatRefStatusChangeEvent(uint32 pType, HostileReference* pHostileReference) : UnitBaseEvent(pType), iThreatMgr(nullptr), iFValue(0.f)
|
ThreatRefStatusChangeEvent(uint32 pType, HostileReference* pHostileReference) : UnitBaseEvent(pType), iFValue(0.f), iThreatMgr(nullptr)
|
||||||
{
|
{
|
||||||
iHostileReference = pHostileReference;
|
iHostileReference = pHostileReference;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user