diff options
author | w1sht0l1v3 <w1sht0l1v3@gmail.com> | 2012-10-25 13:49:47 -0700 |
---|---|---|
committer | w1sht0l1v3 <w1sht0l1v3@gmail.com> | 2012-10-25 13:49:47 -0700 |
commit | 6d55ac8c58117de36143be76d6dc8d806ac9abe7 (patch) | |
tree | 3c19341fdf1c7acd10cae1031278fe641d950d32 /src | |
parent | ebdbe869afa6ebe1c5c7805c9a68c47928cf9e9a (diff) | |
parent | ead804df92cf43693b45393dfdbd2b1f75f9a93e (diff) |
Merge pull request #8184 from Gacko/childrensweek
Core: Fix compile warnings
Diffstat (limited to 'src')
-rw-r--r-- | src/server/scripts/Events/childrens_week.cpp | 17 |
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(); } |