Fix TC build

This commit is contained in:
Rochet2
2017-04-29 20:47:52 +03:00
parent ef0b1387dd
commit 839d3df8f6
2 changed files with 9 additions and 1 deletions

View File

@@ -2222,7 +2222,7 @@ namespace LuaPlayer
#ifndef TRINITY
AuctionHouseEntry const* ahEntry = AuctionHouseMgr::GetAuctionHouseEntry(unit);
#else
AuctionHouseEntry const* ahEntry = AuctionHouseMgr::GetAuctionHouseEntry(unit->getFaction());
AuctionHouseEntry const* ahEntry = AuctionHouseMgr::GetAuctionHouseEntry(unit->GetFaction());
#endif
if (!ahEntry)
return 0;