aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Events
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2014-10-21 20:27:00 +0200
committerShauren <shauren.trinity@gmail.com>2025-09-28 22:53:45 +0200
commit75f036976410811d3c2629ddcddd279beb2dafb8 (patch)
treeecf943b2980591833bff6b49cef7355d1eb76ae9 /src/server/scripts/Events
parentd144724e2fd8a74a3e896751dc9c866b3932f815 (diff)
Core/Entities: Second batch of removing implicit conversions of ObjectGuid to uint64
(cherry picked from commit 034561792ca9a07d719961ea842af2118428816f)
Diffstat (limited to 'src/server/scripts/Events')
-rw-r--r--src/server/scripts/Events/childrens_week.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/server/scripts/Events/childrens_week.cpp b/src/server/scripts/Events/childrens_week.cpp
index c283c3bd40e..8ad3f2e85ee 100644
--- a/src/server/scripts/Events/childrens_week.cpp
+++ b/src/server/scripts/Events/childrens_week.cpp
@@ -179,7 +179,7 @@ class npc_winterfin_playmate : public CreatureScript
{
playerGUID = player->GetGUID();
orphanGUID = getOrphanGUID(player, ORPHAN_ORACLE);
- if (orphanGUID)
+ if (!orphanGUID.IsEmpty())
phase = 1;
}
}
@@ -286,7 +286,7 @@ class npc_snowfall_glade_playmate : public CreatureScript
{
playerGUID = player->GetGUID();
orphanGUID = getOrphanGUID(player, ORPHAN_WOLVAR);
- if (orphanGUID)
+ if (!orphanGUID.IsEmpty())
phase = 1;
}
}
@@ -392,7 +392,7 @@ class npc_the_biggest_tree : public CreatureScript
{
playerGUID = player->GetGUID();
orphanGUID = getOrphanGUID(player, ORPHAN_ORACLE);
- if (orphanGUID)
+ if (!orphanGUID.IsEmpty())
phase = 1;
}
}
@@ -487,7 +487,7 @@ class npc_high_oracle_soo_roo : public CreatureScript
{
playerGUID = player->GetGUID();
orphanGUID = getOrphanGUID(player, ORPHAN_ORACLE);
- if (orphanGUID)
+ if (!orphanGUID.IsEmpty())
phase = 1;
}
}
@@ -583,7 +583,7 @@ class npc_elder_kekek : public CreatureScript
{
playerGUID = player->GetGUID();
orphanGUID = getOrphanGUID(player, ORPHAN_WOLVAR);
- if (orphanGUID)
+ if (!orphanGUID.IsEmpty())
phase = 1;
}
}
@@ -697,7 +697,7 @@ class npc_the_etymidian : public CreatureScript
{
playerGUID = player->GetGUID();
orphanGUID = getOrphanGUID(player, ORPHAN_ORACLE);
- if (orphanGUID)
+ if (!orphanGUID.IsEmpty())
phase = 1;
}
}
@@ -819,14 +819,14 @@ class npc_alexstraza_the_lifebinder : public CreatureScript
{
playerGUID = player->GetGUID();
orphanGUID = getOrphanGUID(player, ORPHAN_ORACLE);
- if (orphanGUID)
+ if (!orphanGUID.IsEmpty())
phase = 1;
}
else if (player->GetQuestStatus(QUEST_THE_DRAGON_QUEEN_WOLVAR) == QUEST_STATUS_INCOMPLETE)
{
playerGUID = player->GetGUID();
orphanGUID = getOrphanGUID(player, ORPHAN_WOLVAR);
- if (orphanGUID)
+ if (!orphanGUID.IsEmpty())
phase = 7;
}
}