mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-29 20:20:43 +00:00
when bailing out of the bits tests due to U_EXTEND2 not being set, jump
to the forcelink test rather than returning from the function. fixes the intermission bug.
This commit is contained in:
parent
91a6dd5272
commit
0fbcd7719f
1 changed files with 4 additions and 1 deletions
|
@ -483,6 +483,8 @@ CL_ParseUpdate (int bits)
|
||||||
|
|
||||||
if (bits & U_NOLERP)
|
if (bits & U_NOLERP)
|
||||||
forcelink = true;
|
forcelink = true;
|
||||||
|
if (bits & 0xffff0000)
|
||||||
|
printf ("%x\n", bits);
|
||||||
|
|
||||||
// QSG Start
|
// QSG Start
|
||||||
if (bits & U_ALPHA)
|
if (bits & U_ALPHA)
|
||||||
|
@ -515,7 +517,7 @@ CL_ParseUpdate (int bits)
|
||||||
state->colormod = state->baseline.colormod;
|
state->colormod = state->baseline.colormod;
|
||||||
|
|
||||||
if (!(bits & U_EXTEND2))
|
if (!(bits & U_EXTEND2))
|
||||||
return;
|
goto link;
|
||||||
|
|
||||||
if (bits & U_GLOWTRAIL)
|
if (bits & U_GLOWTRAIL)
|
||||||
state->effects |= EF_GLOWTRAIL;
|
state->effects |= EF_GLOWTRAIL;
|
||||||
|
@ -524,6 +526,7 @@ CL_ParseUpdate (int bits)
|
||||||
ent->frame = (ent->frame & 0xFF) | (MSG_ReadByte (net_message) << 8);
|
ent->frame = (ent->frame & 0xFF) | (MSG_ReadByte (net_message) << 8);
|
||||||
// QSG End
|
// QSG End
|
||||||
|
|
||||||
|
link:
|
||||||
if (forcelink) { // didn't have an update last message
|
if (forcelink) { // didn't have an update last message
|
||||||
VectorCopy (state->msg_origins[0], state->msg_origins[1]);
|
VectorCopy (state->msg_origins[0], state->msg_origins[1]);
|
||||||
VectorCopy (state->msg_origins[0], ent->origin);
|
VectorCopy (state->msg_origins[0], ent->origin);
|
||||||
|
|
Loading…
Reference in a new issue