aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/updates/world/master/2017_02_18_15_world_2016_08_24_03_world.sql2
-rw-r--r--src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/sql/updates/world/master/2017_02_18_15_world_2016_08_24_03_world.sql b/sql/updates/world/master/2017_02_18_15_world_2016_08_24_03_world.sql
new file mode 100644
index 00000000000..68b4d9274ec
--- /dev/null
+++ b/sql/updates/world/master/2017_02_18_15_world_2016_08_24_03_world.sql
@@ -0,0 +1,2 @@
+-- Scarlet Mine Car must have UNIT_FIELD_FLAGS UNIT_FLAG_IMMUNE_TO_PC
+UPDATE `creature_template` SET `unit_flags`= `unit_flags`| 520 WHERE `entry`= 28817;
diff --git a/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp b/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp
index b8427086047..6ca82a34979 100644
--- a/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp
+++ b/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp
@@ -1022,7 +1022,6 @@ class npc_scarlet_miner_cart : public CreatureScript
{
npc_scarlet_miner_cartAI(Creature* creature) : PassiveAI(creature)
{
- me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_IMMUNE_TO_PC);
me->SetDisplayId(me->GetCreatureTemplate()->Modelid1); // Modelid2 is a horse.
}