fix(object): correct read in CClientObjCreate::Get

This commit is contained in:
fallenoak committed 2026-01-13 19:24:35 -06:00
1 parent 97d386f745
commit 31fca17064
2 files changed
+3 -5

No files matched your search

+2 -4
View File
@@ -124,11 +124,9 @@ int32_t CClientObjCreate::Get(CDataStore* msg) {
}
if (this->flags & 0x200) {
SmartGUID guid;
*msg >> guid;
this->guid2D4 = guid;
msg->Get(this->uint2D4);
} else {
this->guid2D4 = 0;
this->uint2D4 = 0;
}
return msg->Size() >= msg->Tell();
+1 -1
View File
@@ -18,7 +18,7 @@ struct CClientObjCreate {
uint32_t uint2C4;
float float2C8;
// TODO
WOWGUID guid2D4 = 0;
uint64_t uint2D4 = 0; // TODO guid?
static void Skip(CDataStore* msg);
int32_t Get(CDataStore* msg);