diff options
author | Shauren <shauren.trinity@gmail.com> | 2016-08-04 23:49:26 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2016-08-04 23:49:26 +0200 |
commit | 5bbc5827aa9c47985721de33bd4a4c7466cfb99e (patch) | |
tree | aef9a7d0d3fa3e755fa24c63e1583df65e1a42e1 | |
parent | fe6d8016afb71c81d9f26feac9aa0d3b0183a310 (diff) |
Core/DataStores: Fixed retrieving area info by vmaps
Closes #17723
-rw-r--r-- | src/server/game/DataStores/DB2Stores.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/DataStores/DB2Stores.cpp b/src/server/game/DataStores/DB2Stores.cpp index 39bf3eb5501..050fda2fa25 100644 --- a/src/server/game/DataStores/DB2Stores.cpp +++ b/src/server/game/DataStores/DB2Stores.cpp @@ -1460,7 +1460,7 @@ bool DB2Manager::IsToyItem(uint32 toy) const WMOAreaTableEntry const* DB2Manager::GetWMOAreaTable(int32 rootId, int32 adtId, int32 groupId) const { - auto i = _wmoAreaTableLookup.find(WMOAreaTableKey(int8(rootId), int16(adtId), groupId)); + auto i = _wmoAreaTableLookup.find(WMOAreaTableKey(int16(rootId), int8(adtId), groupId)); if (i != _wmoAreaTableLookup.end()) return i->second; |