diff options
author | Shauren <shauren.trinity@gmail.com> | 2019-11-29 00:10:29 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2019-11-29 00:10:29 +0100 |
commit | 96575e33bb6992e6906e02427f20c58af674bdaa (patch) | |
tree | 235209678ac2445c9d6e13af752276c8b230fc98 /src/common/DataStores/DB2Meta.cpp | |
parent | 235ec18143a23602c8e96573b2f3e2dcec4801c9 (diff) |
Core/Items: Add location filters to Player::GetItemByEntry
Diffstat (limited to 'src/common/DataStores/DB2Meta.cpp')
-rw-r--r-- | src/common/DataStores/DB2Meta.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/DataStores/DB2Meta.cpp b/src/common/DataStores/DB2Meta.cpp index c8b6ae3490f..9f7d688d494 100644 --- a/src/common/DataStores/DB2Meta.cpp +++ b/src/common/DataStores/DB2Meta.cpp @@ -44,7 +44,7 @@ uint32 DB2Meta::GetRecordSize() const { for (uint8 j = 0; j < Fields[i].ArraySize; ++j) { - if (i >= FileFieldCount && i == ParentIndexField) + if (i >= FileFieldCount && int32(i) == ParentIndexField) { size += 4; continue; |