Fixed these 3 fatal errors for travis build (thanks to @Talamortis )

# Conflicts:
#	src/authserver/Server/AuthSocket.cpp
#	src/game/AI/SmartScripts/SmartScript.cpp
This commit is contained in:
Barbz 2017-06-30 18:16:17 +02:00 committed by Yehonal
parent c1586e0d99
commit f794ad2acf
3 changed files with 4 additions and 5 deletions

View file

@ -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