summaryrefslogtreecommitdiff
path: root/src/game/AI/SmartScripts/SmartScript.cpp
diff options
context:
space:
mode:
authorBarbz <yhool_server@gmx.com>2017-06-30 18:16:17 +0200
committerYehonal <yehonal.azeroth@gmail.com>2017-08-19 19:47:35 +0200
commitf794ad2acfd8156ffe60ea5df1233ff5bb63be53 (patch)
tree4a27a4a1262e5aaa2e05a353e1e3349bffc666f1 /src/game/AI/SmartScripts/SmartScript.cpp
parentc1586e0d995de5dd278b0acfe410acf66f6c2c6d (diff)
Fixed these 3 fatal errors for travis build (thanks to @Talamortis )
# Conflicts: # src/authserver/Server/AuthSocket.cpp # src/game/AI/SmartScripts/SmartScript.cpp
Diffstat (limited to 'src/game/AI/SmartScripts/SmartScript.cpp')
-rw-r--r--src/game/AI/SmartScripts/SmartScript.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/AI/SmartScripts/SmartScript.cpp b/src/game/AI/SmartScripts/SmartScript.cpp
index 527c9c6694..9eceda60bd 100644
--- a/src/game/AI/SmartScripts/SmartScript.cpp
+++ b/src/game/AI/SmartScripts/SmartScript.cpp
@@ -144,8 +144,8 @@ void SmartScript::ProcessAction(SmartScriptHolder& e, Unit* unit, uint32 var0, u
if (unit)
mLastInvoker = unit->GetGUID();
- //if (Unit* tempInvoker = GetLastInvoker())
#ifdef ENABLE_EXTRAS && ENABLE_EXTRA_LOGS
+ if (Unit* tempInvoker = GetLastInvoker())
sLog->outDebug(LOG_FILTER_DATABASE_AI, "SmartScript::ProcessAction: Invoker: %s (guidlow: %u)", tempInvoker->GetName().c_str(), tempInvoker->GetGUIDLow());
#endif