Core/Entities: Second batch of removing implicit conversions of ObjectGuid to uint64

This commit is contained in:
Shauren
2014-10-21 20:27:00 +02:00
parent 9cc7044546
commit 034561792c
70 changed files with 287 additions and 220 deletions

View File

@@ -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())
{