mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 00:02:45 +03:00
fix(object): correct read in CClientObjCreate::Get
This commit is contained in:
parent
97d386f745
commit
31fca17064
@ -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();
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user