diff options
author | Shauren <shauren.trinity@gmail.com> | 2025-09-27 23:25:37 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2025-09-27 23:25:37 +0200 |
commit | 175424d3cb645f20cadd77c006081afaab066ad9 (patch) | |
tree | febc1f01b6fe1cf674e107d57d70965d3288316b /src/common/DataStores/DBCFileLoader.cpp | |
parent | 5b2106d6de99e18b42081b2ae2828a1f558065ea (diff) |
Core/Misc: Reduce differences between branches3.3.5
Diffstat (limited to 'src/common/DataStores/DBCFileLoader.cpp')
-rw-r--r-- | src/common/DataStores/DBCFileLoader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/DataStores/DBCFileLoader.cpp b/src/common/DataStores/DBCFileLoader.cpp index a2ace0eb41b..d38ba107014 100644 --- a/src/common/DataStores/DBCFileLoader.cpp +++ b/src/common/DataStores/DBCFileLoader.cpp @@ -88,7 +88,7 @@ bool DBCFileLoader::Load(char const* filename, char const* fmt) for (uint32 i = 1; i < fieldCount; ++i) { fieldsOffset[i] = fieldsOffset[i - 1]; - if (fmt[i - 1] == 'b' || fmt[i - 1] == 'X') // byte fields + if (fmt[i - 1] == FT_BYTE || fmt[i - 1] == FT_NA_BYTE) // byte fields fieldsOffset[i] += sizeof(uint8); else // 4 byte fields (int32/float/strings) fieldsOffset[i] += sizeof(uint32); |