aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/EasternKingdoms
diff options
context:
space:
mode:
authoroffl <offl@users.noreply.github.com>2021-06-10 19:15:35 +0300
committeroffl <offl@users.noreply.github.com>2021-06-10 19:15:35 +0300
commit180f495c7037dc3be61a33dee5745833fd993d4c (patch)
tree349fb9803e4ad7c23a6f01e31a6ef156eb0526e3 /src/server/scripts/EasternKingdoms
parentc6d77a7a83c1abb7a8f3de2c30c1da33e709aa98 (diff)
Scripts/Misc: Remove few more evil flags
Ref #25764
Diffstat (limited to 'src/server/scripts/EasternKingdoms')
-rw-r--r--src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/blackrock_depths.cpp2
-rw-r--r--src/server/scripts/EasternKingdoms/ScarletEnclave/zone_the_scarlet_enclave.cpp1
2 files changed, 0 insertions, 3 deletions
diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/blackrock_depths.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/blackrock_depths.cpp
index 039601c6107..35b2be3fce3 100644
--- a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/blackrock_depths.cpp
+++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockDepths/blackrock_depths.cpp
@@ -177,8 +177,6 @@ public:
void Reset() override
{
Initialize();
-
- me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE);
}
/// @todo move them to center
diff --git a/src/server/scripts/EasternKingdoms/ScarletEnclave/zone_the_scarlet_enclave.cpp b/src/server/scripts/EasternKingdoms/ScarletEnclave/zone_the_scarlet_enclave.cpp
index ce40e34ad69..6b170fcff77 100644
--- a/src/server/scripts/EasternKingdoms/ScarletEnclave/zone_the_scarlet_enclave.cpp
+++ b/src/server/scripts/EasternKingdoms/ScarletEnclave/zone_the_scarlet_enclave.cpp
@@ -71,7 +71,6 @@ public:
me->setActive(true);
me->SetFarVisible(true);
me->SetVisible(false);
- me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE);
me->SetCanFly(true);
me->GetPosition(x, y, z);