mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 23:50:44 +01:00
Core/Entities: Second batch of removing implicit conversions of ObjectGuid to uint64
This commit is contained in:
@@ -297,7 +297,7 @@ void Map::ScriptsProcess()
|
||||
ScriptAction const& step = iter->second;
|
||||
|
||||
Object* source = NULL;
|
||||
if (step.sourceGUID)
|
||||
if (!step.sourceGUID.IsEmpty())
|
||||
{
|
||||
switch (step.sourceGUID.GetHigh())
|
||||
{
|
||||
@@ -336,7 +336,7 @@ void Map::ScriptsProcess()
|
||||
}
|
||||
|
||||
WorldObject* target = NULL;
|
||||
if (step.targetGUID)
|
||||
if (!step.targetGUID.IsEmpty())
|
||||
{
|
||||
switch (step.targetGUID.GetHigh())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user