aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/server/scripts/Events/childrens_week.cpp17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/server/scripts/Events/childrens_week.cpp b/src/server/scripts/Events/childrens_week.cpp
index 8014434cd98..d09d82130de 100644
--- a/src/server/scripts/Events/childrens_week.cpp
+++ b/src/server/scripts/Events/childrens_week.cpp
@@ -15,7 +15,6 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "event.h"
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
@@ -166,7 +165,7 @@ class npc_winterfin_playmate : public CreatureScript
if (player->GetQuestStatus(QUEST_PLAYMATE_ORACLE) == QUEST_STATUS_INCOMPLETE)
{
playerGUID = player->GetGUID();
- if (orphanGUID = getOrphanGUID(player, ORPHAN_ORACLE))
+ if ((orphanGUID = getOrphanGUID(player, ORPHAN_ORACLE)))
phase = 1;
}
}
@@ -263,7 +262,7 @@ class npc_snowfall_glade_playmate : public CreatureScript
if (player->GetQuestStatus(QUEST_PLAYMATE_WOLVAR) == QUEST_STATUS_INCOMPLETE)
{
playerGUID = player->GetGUID();
- if (orphanGUID = getOrphanGUID(player, ORPHAN_WOLVAR))
+ if ((orphanGUID = getOrphanGUID(player, ORPHAN_WOLVAR)))
phase = 1;
}
}
@@ -362,7 +361,7 @@ class npc_the_biggest_tree : public CreatureScript
if (player->GetQuestStatus(QUEST_THE_BIGGEST_TREE_EVER) == QUEST_STATUS_INCOMPLETE)
{
playerGUID = player->GetGUID();
- if (orphanGUID = getOrphanGUID(player, ORPHAN_ORACLE))
+ if ((orphanGUID = getOrphanGUID(player, ORPHAN_ORACLE)))
phase = 1;
}
}
@@ -447,7 +446,7 @@ class npc_high_oracle_soo_roo : public CreatureScript
if (player->GetQuestStatus(QUEST_THE_BRONZE_DRAGONSHRINE_ORACLE) == QUEST_STATUS_INCOMPLETE)
{
playerGUID = player->GetGUID();
- if (orphanGUID = getOrphanGUID(player, ORPHAN_ORACLE))
+ if ((orphanGUID = getOrphanGUID(player, ORPHAN_ORACLE)))
phase = 1;
}
}
@@ -534,7 +533,7 @@ class npc_elder_kekek : public CreatureScript
if (player->GetQuestStatus(QUEST_THE_BRONZE_DRAGONSHRINE_WOLVAR) == QUEST_STATUS_INCOMPLETE)
{
playerGUID = player->GetGUID();
- if (orphanGUID = getOrphanGUID(player, ORPHAN_WOLVAR))
+ if ((orphanGUID = getOrphanGUID(player, ORPHAN_WOLVAR)))
phase = 1;
}
}
@@ -621,7 +620,7 @@ class npc_the_etymidian : public CreatureScript
if (player->GetQuestStatus(QUEST_MEETING_A_GREAT_ONE) == QUEST_STATUS_INCOMPLETE)
{
playerGUID = player->GetGUID();
- if (orphanGUID = getOrphanGUID(player, ORPHAN_ORACLE))
+ if ((orphanGUID = getOrphanGUID(player, ORPHAN_ORACLE)))
phase = 1;
}
}
@@ -733,13 +732,13 @@ class npc_alexstraza_the_lifebinder : public CreatureScript
{
if (player->GetQuestStatus(QUEST_THE_DRAGON_QUEEN_ORACLE) == QUEST_STATUS_INCOMPLETE)
{
- if (orphanGUID = getOrphanGUID(player, ORPHAN_ORACLE))
+ if ((orphanGUID = getOrphanGUID(player, ORPHAN_ORACLE)))
phase = 1;
playerGUID = player->GetGUID();
}
else if (player->GetQuestStatus(QUEST_THE_DRAGON_QUEEN_WOLVAR) == QUEST_STATUS_INCOMPLETE)
{
- if (orphanGUID = getOrphanGUID(player, ORPHAN_WOLVAR))
+ if ((orphanGUID = getOrphanGUID(player, ORPHAN_WOLVAR)))
phase = 7;
playerGUID = player->GetGUID();
}