mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 02:30:46 +00:00
net: fix bug in Net_ParseServerPacket introduced with SAMESIZE_ACTOR_T.
git-svn-id: https://svn.eduke32.com/eduke32@2215 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
489605ee0d
commit
51e3bc0148
1 changed files with 1 additions and 0 deletions
|
@ -1826,6 +1826,7 @@ void Net_ParseServerPacket(ENetEvent *event)
|
|||
#if defined SAMESIZE_ACTOR_T
|
||||
j++;
|
||||
Bmemcpy(&T5, &pbuf[j], sizeof(T5));
|
||||
j += sizeof(T5);
|
||||
#else
|
||||
int16_t jj = j++;
|
||||
int32_t oa = (T5 >= (intptr_t)&script[0] && T5 < (intptr_t)&script[g_scriptSize]) ? T5-(intptr_t)&script[0] : T5;
|
||||
|
|
Loading…
Reference in a new issue