This commit is contained in:
ariel-
2016-01-10 23:38:57 -03:00
parent a7f1df6061
commit b08038c8b6

View File

@@ -209,7 +209,7 @@ class SmartScript
if (lookupRoot)
{
if (!meOrigGUID)
if (!meOrigGUID.IsEmpty())
{
if (Creature* m = ObjectAccessor::GetCreature(*lookupRoot, meOrigGUID))
{
@@ -217,7 +217,8 @@ class SmartScript
go = NULL;
}
}
if (!goOrigGUID)
if (!goOrigGUID.IsEmpty())
{
if (GameObject* o = ObjectAccessor::GetGameObject(*lookupRoot, goOrigGUID))
{