Fix TC build

This commit is contained in:
Rochet2
2017-06-27 17:56:54 +03:00
parent f1117fc2d8
commit 6c49c5e71b

View File

@@ -1176,7 +1176,7 @@ namespace LuaPlayer
#ifndef TRINITY
Eluna::Push(L, player->GetMap()->GetUnit(player->GetComboTargetGuid()));
#else
Eluna::Push(L, ObjectAccessor::GetUnit(*player, player->GetComboTarget()));
Eluna::Push(L, player->GetComboTarget());
#endif
return 1;
}