diff options
author | Duarte Duarte <dnpd.dd@gmail.com> | 2016-01-11 03:16:17 +0000 |
---|---|---|
committer | Duarte Duarte <dnpd.dd@gmail.com> | 2016-01-11 03:16:17 +0000 |
commit | 8ef9ea9157ca6c04194888a2118be7daf303856f (patch) | |
tree | 98995f796a74c1a422b7b21d5cd0bf13793dd663 /src | |
parent | a7f1df606188fc789c00efc068e8ddfe6b25d692 (diff) | |
parent | b08038c8b69732d10d179ecccbad60e7853f40b4 (diff) |
Merge pull request #16231 from ariel-/smartfix
Core/SmartScripts: Fix typo
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/AI/SmartScripts/SmartScript.h | 5 |
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)) { |