fix(Build): -Wsign-compare (#19320)
This commit is contained in:
@@ -124,8 +124,8 @@ struct boss_shade_of_aran : public BossAI
|
|||||||
_drinking = false;
|
_drinking = false;
|
||||||
_hasDrunk = false;
|
_hasDrunk = false;
|
||||||
|
|
||||||
for (int i = 0; i < immuneSpells.size(); i++)
|
for (auto spell : immuneSpells)
|
||||||
me->ApplySpellImmune(0, IMMUNITY_ID, immuneSpells[i], true);
|
me->ApplySpellImmune(0, IMMUNITY_ID, spell, true);
|
||||||
|
|
||||||
if (GameObject* libraryDoor = instance->instance->GetGameObject(instance->GetGuidData(DATA_GO_LIBRARY_DOOR)))
|
if (GameObject* libraryDoor = instance->instance->GetGameObject(instance->GetGuidData(DATA_GO_LIBRARY_DOOR)))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user