Core/SmartAI: store event invoker when available, and use it for Invoker target

note: dont forget to call script_reset when script is over!

--HG--
branch : trunk
This commit is contained in:
Rat committed 2010-11-04 19:56:39 +01:00
1 parent cf475e75ca
commit 54b11cce01
2 files changed
+22 -13

No files matched your search

@@ -214,6 +214,7 @@ class SmartScript
uint64 mTextGUID;
Creature* talker;
bool mUseTextTimer;
Unit* mLastInvoker;
SMARTAI_TEMPLATE mTemplate;
void InstallEvents();