Core/Misc: fixed another bunch of GCC warnings
This commit is contained in:
1 parent
3de1f9a104
commit
b489a905e1
10 files changed
+54
-62
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user