Core/SAI: Linked events should be executed after the event that linked them is executed.

Core/SAI: Allow SMART_EVENT_GO_STATE_CHANGED to use ActionInvoker target

Signed-off-by: Subv2112 <[email protected]>
This commit is contained in:
Subv2112
2012-01-22 20:36:01 -05:00
parent ad8a975050
commit 3d4f55723c
10 changed files with 120 additions and 119 deletions
@@ -324,7 +324,7 @@ void WorldSession::DoLootRelease(uint64 lguid)
else
{
// not fully looted object
go->SetLootState(GO_ACTIVATED);
go->SetLootState(GO_ACTIVATED, player);
// if the round robin player release, reset it.
if (player->GetGUID() == loot->roundRobinPlayer)