diff options
author | Ovahlord <dreadkiller@gmx.de> | 2024-03-12 22:35:49 +0100 |
---|---|---|
committer | Ovahlord <dreadkiller@gmx.de> | 2024-03-12 22:35:49 +0100 |
commit | b569dad56becca665d85aac24304c9eea1fb475f (patch) | |
tree | b7798972a45a73de5a07517da5068ed86aecbddf /src | |
parent | 8dea56b9dbf3146463aedb1472d952db33276847 (diff) |
Core/Datastores: hardcode the return value of DB2Manager::GetEmptyAnimStateID() to match the expected client value
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/DataStores/DB2Stores.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/game/DataStores/DB2Stores.cpp b/src/server/game/DataStores/DB2Stores.cpp index 9e825441ba8..1e37aa6c243 100644 --- a/src/server/game/DataStores/DB2Stores.cpp +++ b/src/server/game/DataStores/DB2Stores.cpp @@ -1820,7 +1820,8 @@ std::vector<DB2Manager::HotfixOptionalData> const* DB2Manager::GetHotfixOptional uint32 DB2Manager::GetEmptyAnimStateID() const { - return sAnimationDataStore.GetNumRows(); + //return sAnimationDataStore.GetNumRows(); + return 1776; // the Classic client expects the retail storage size so we have to hardcode the value } void DB2Manager::InsertNewHotfix(uint32 tableHash, uint32 recordId) |