mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Engine: fix CLC voice data netmessage structures
The field 'void* unk0' is actually 'CNetMessage::m_pMessageHandler'. Since this type was taken from the IDB (in which this field is actually part of the netmessage implementation itself, since SVC messages use a different vtable and its the only way to have it show correctly in the output), an extra 8 bytes shift occurred rendering the system defective. Removed the field and the structure now matches that of the game executable.
This commit is contained in:
parent
3bb4ee6258
commit
d1c4d6f1d6
@ -452,7 +452,6 @@ private:
|
|||||||
class CLC_VoiceData : public CNetMessage
|
class CLC_VoiceData : public CNetMessage
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
void* unk0;
|
|
||||||
int m_nLength;
|
int m_nLength;
|
||||||
bf_read m_DataIn;
|
bf_read m_DataIn;
|
||||||
bf_write m_DataOut;
|
bf_write m_DataOut;
|
||||||
@ -463,7 +462,6 @@ public:
|
|||||||
class CLC_DurangoVoiceData : public CNetMessage
|
class CLC_DurangoVoiceData : public CNetMessage
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
void* unk0;
|
|
||||||
int m_nLength;
|
int m_nLength;
|
||||||
bf_read m_DataIn;
|
bf_read m_DataIn;
|
||||||
bf_write m_DataOut;
|
bf_write m_DataOut;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user