diff options
| author | Shauren <shauren.trinity@gmail.com> | 2022-03-29 11:30:49 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2022-03-29 11:30:49 +0200 |
| commit | d611925dc7ab2b3f19c5ee9e0f75b8dfb6de1291 (patch) | |
| tree | 4428ac0728c043ca1cb4fc55427f87268ab4860c /src/server/scripts/EasternKingdoms/Stratholme | |
| parent | c02b829788cb274a68b125aee4dab35b9a56a2b8 (diff) | |
Core/Units: Reduce differences between branches part 1 - unit updatefield accessors
Diffstat (limited to 'src/server/scripts/EasternKingdoms/Stratholme')
| -rw-r--r-- | src/server/scripts/EasternKingdoms/Stratholme/instance_stratholme.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/EasternKingdoms/Stratholme/instance_stratholme.cpp b/src/server/scripts/EasternKingdoms/Stratholme/instance_stratholme.cpp index 5e624ae41e4..c4a2df94fe2 100644 --- a/src/server/scripts/EasternKingdoms/Stratholme/instance_stratholme.cpp +++ b/src/server/scripts/EasternKingdoms/Stratholme/instance_stratholme.cpp @@ -170,7 +170,7 @@ class instance_stratholme : public InstanceMapScript break; case NPC_YSIDA: ysidaGUID = creature->GetGUID(); - creature->RemoveFlag(UNIT_NPC_FLAGS, UNIT_NPC_FLAG_QUESTGIVER); + creature->RemoveNpcFlag(UNIT_NPC_FLAG_QUESTGIVER); break; } } @@ -278,7 +278,7 @@ class instance_stratholme : public InstanceMapScript ysida->CastSpell(nullptr, SPELL_YSIDA_SAVED, true); ysida->SetWalk(true); ysida->AI()->Talk(SAY_YSIDA_SAVED); - ysida->SetFlag(UNIT_NPC_FLAGS, UNIT_NPC_FLAG_QUESTGIVER); + ysida->SetNpcFlag(UNIT_NPC_FLAG_QUESTGIVER); ysida->GetClosePoint(x, y, z, ysida->GetObjectScale() / 3, 4.0f); ysida->GetMotionMaster()->MovePoint(1, x, y, z); |
