Skip to content

Commit

Permalink
Fix legacy mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Toroshchin committed Aug 31, 2023
1 parent 010a8b1 commit 296a129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/client/cl_frame.c
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,7 @@ int CL_ParsePacketEntities( sizebuf_t *msg, qboolean delta )
CL_WriteDemoJumpTime();

// sentinel count. save it for debug checking
if( cls.legacymode == PROTO_GOLDSRC )
if( cls.legacymode == PROTO_LEGACY )
count = MSG_ReadWord( msg );
else count = MSG_ReadUBitLong( msg, MAX_VISIBLE_PACKET_BITS ) + 1;

Expand Down

0 comments on commit 296a129

Please sign in to comment.