aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorariel- <ariel.silva305@gmail.com>2016-01-10 23:38:57 -0300
committerariel- <ariel.silva305@gmail.com>2016-01-10 23:38:57 -0300
commitb08038c8b69732d10d179ecccbad60e7853f40b4 (patch)
tree98995f796a74c1a422b7b21d5cd0bf13793dd663 /src
parenta7f1df606188fc789c00efc068e8ddfe6b25d692 (diff)
Fix typo after dcb7082277447c21b11c4a1d59f105fa342c172e
Diffstat (limited to 'src')
-rw-r--r--src/server/game/AI/SmartScripts/SmartScript.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/server/game/AI/SmartScripts/SmartScript.h b/src/server/game/AI/SmartScripts/SmartScript.h
index 11fbc2f77b6..e8b89a813b5 100644
--- a/src/server/game/AI/SmartScripts/SmartScript.h
+++ b/src/server/game/AI/SmartScripts/SmartScript.h
@@ -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))
{