This commit is contained in:
ariel- committed 2016-01-10 23:38:57 -03:00
1 parent a7f1df6061
commit b08038c8b6
1 file changed
+3 -2
@@ -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))
{