mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-02 00:32: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) {
|
if (this->flags & 0x200) {
|
||||||
SmartGUID guid;
|
msg->Get(this->uint2D4);
|
||||||
*msg >> guid;
|
|
||||||
this->guid2D4 = guid;
|
|
||||||
} else {
|
} else {
|
||||||
this->guid2D4 = 0;
|
this->uint2D4 = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
return msg->Size() >= msg->Tell();
|
return msg->Size() >= msg->Tell();
|
||||||
|
|||||||
@ -18,7 +18,7 @@ struct CClientObjCreate {
|
|||||||
uint32_t uint2C4;
|
uint32_t uint2C4;
|
||||||
float float2C8;
|
float float2C8;
|
||||||
// TODO
|
// TODO
|
||||||
WOWGUID guid2D4 = 0;
|
uint64_t uint2D4 = 0; // TODO guid?
|
||||||
|
|
||||||
static void Skip(CDataStore* msg);
|
static void Skip(CDataStore* msg);
|
||||||
int32_t Get(CDataStore* msg);
|
int32_t Get(CDataStore* msg);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user