Skip to content

Commit

Permalink
CLIENT: Reset trans & colourmod in old svc_spawn(baseline|static).
Browse files Browse the repository at this point in the history
  • Loading branch information
dsvensson committed Jan 14, 2025
1 parent 270bd39 commit e9b108f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/cl_parse.c
Original file line number Diff line number Diff line change
Expand Up @@ -1828,6 +1828,15 @@ void CL_ParseBaseline (entity_state_t *es)
es->origin[i] = MSG_ReadCoord ();
es->angles[i] = MSG_ReadAngle ();
}

#ifdef FTE_PEXT_TRANS
es->trans = 0;
#endif
#ifdef FTE_PEXT_COLOURMOD
es->colourmod[0] = 0;
es->colourmod[1] = 0;
es->colourmod[2] = 0;
#endif
}

// An easy way to keep compatability with other entity extensions
Expand Down

0 comments on commit e9b108f

Please sign in to comment.