mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-21 15:27:47 -04:00
Core/Entities: First batch of removing implicit conversions of ObjectGuid to uint64
This commit is contained in:
@@ -316,7 +316,7 @@ public:
|
||||
DoCast(temp, SPELL_BANISHED_SHATTRATH_A);
|
||||
banishTimer = 9000;
|
||||
playerGUID = temp->GetGUID();
|
||||
if (playerGUID)
|
||||
if (!playerGUID.IsEmpty())
|
||||
canTeleport = true;
|
||||
}
|
||||
} else banishTimer -= diff;
|
||||
@@ -389,7 +389,7 @@ public:
|
||||
DoCast(temp, SPELL_BANISHED_SHATTRATH_S);
|
||||
banishTimer = 9000;
|
||||
playerGUID = temp->GetGUID();
|
||||
if (playerGUID)
|
||||
if (!playerGUID.IsEmpty())
|
||||
canTeleport = true;
|
||||
}
|
||||
} else banishTimer -= diff;
|
||||
|
||||
Reference in New Issue
Block a user