aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2018-03-07 18:08:15 +0100
committerShauren <shauren.trinity@gmail.com>2018-03-07 18:08:15 +0100
commit12beb3dd1b5166481ed68f945b4294ff4aca9000 (patch)
treeb69307951138bd1b339d5642d241a493a4521590 /src
parent71bb724fbcdfa8da66a87ac22f74cee8a03184d6 (diff)
Core/DataStores: Fixed writing hotfix packet for structures with uint64
Closes #21522
Diffstat (limited to 'src')
-rw-r--r--src/server/shared/DataStores/DB2Store.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/server/shared/DataStores/DB2Store.cpp b/src/server/shared/DataStores/DB2Store.cpp
index 052a5edce0f..14bee9f8a3a 100644
--- a/src/server/shared/DataStores/DB2Store.cpp
+++ b/src/server/shared/DataStores/DB2Store.cpp
@@ -109,6 +109,10 @@ void DB2StorageBase::WriteRecordData(char const* entry, uint32 locale, ByteBuffe
buffer << *(uint16*)entry;
entry += 2;
break;
+ case FT_LONG:
+ buffer << *(uint64*)entry;
+ entry += 8;
+ break;
case FT_STRING:
{
LocalizedString* locStr = *(LocalizedString**)entry;