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:
helixhorned 2011-12-27 14:22:28 +00:00
parent 489605ee0d
commit 51e3bc0148

View file

@ -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;