Core/Misc: fixed another bunch of GCC warnings

This commit is contained in:
Ovahlord committed 2023-07-08 21:33:08 +02:00
1 parent 3de1f9a104
commit b489a905e1
10 files changed
+54 -62

No files matched your search

+1 -1
View File
@@ -4924,7 +4924,7 @@ void Spell::EffectTransmitted(SpellEffIndex effIndex)
QuaternionData rot = QuaternionData::fromEulerAnglesZYX(fo, 0.f, 0.f);
GameObject* go = new GameObject;
if (!go->Create(cMap->GenerateLowGuid<HighGuid::GameObject>(), name_id, cMap, Position(fx, fy, fz, m_caster->GetOrientation()), rot, 255, GO_STATE_READY))
if (!go->Create(cMap->GenerateLowGuid<HighGuid::GameObject>(), name_id, cMap, pos, rot, 255, GO_STATE_READY))
{
delete go;
return;