aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/World
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2014-10-21 19:23:32 +0200
committerShauren <shauren.trinity@gmail.com>2025-09-28 21:38:32 +0200
commitd144724e2fd8a74a3e896751dc9c866b3932f815 (patch)
treee1f3c155560705bbd0f7dea15351b14602354454 /src/server/scripts/World
parent3059fcd70a01bccdf8ea6dd1ae7bedefd737d558 (diff)
Core/Entities: First batch of removing implicit conversions of ObjectGuid to uint64
(cherry picked from commit 9cc7044546eaaaf4fd7a999c5e074ad0ea3d47ef)
Diffstat (limited to 'src/server/scripts/World')
-rw-r--r--src/server/scripts/World/npcs_special.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/World/npcs_special.cpp b/src/server/scripts/World/npcs_special.cpp
index df0e4b1e3e8..992162938c0 100644
--- a/src/server/scripts/World/npcs_special.cpp
+++ b/src/server/scripts/World/npcs_special.cpp
@@ -803,7 +803,7 @@ public:
return;
if (player->GetQuestStatus(6624) == QUEST_STATUS_INCOMPLETE || player->GetQuestStatus(6622) == QUEST_STATUS_INCOMPLETE)
- if (DoctorGUID)
+ if (!DoctorGUID.IsEmpty())
if (Creature* doctor = ObjectAccessor::GetCreature(*me, DoctorGUID))
ENSURE_AI(npc_doctor::npc_doctorAI, doctor->AI())->PatientSaved(me, player, Coord);
@@ -849,7 +849,7 @@ public:
me->setDeathState(JUST_DIED);
me->SetDynamicFlag(32);
- if (DoctorGUID)
+ if (!DoctorGUID.IsEmpty())
if (Creature* doctor = ObjectAccessor::GetCreature((*me), DoctorGUID))
ENSURE_AI(npc_doctor::npc_doctorAI, doctor->AI())->PatientDied(Coord);
}