Permalink
Browse files

fix crash on demo playback (correct?)

  • Loading branch information...
1 parent fdbca37 commit bc6c990dc91cd8d3007034d400382d40cfbb4968 @ericwa committed May 9, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 quakespasm/Quake/cl_parse.c
@@ -663,7 +663,7 @@ static void CLFTE_ParseEntitiesUpdate(void)
float newtime;
//so the server can know when we got it, and guess which frames we didn't get
- if (cl.ackframes_count < sizeof(cl.ackframes)/sizeof(cl.ackframes[0]))
+ if (!cls.demoplayback && cl.ackframes_count < sizeof(cl.ackframes)/sizeof(cl.ackframes[0]))
cl.ackframes[cl.ackframes_count++] = NET_QSocketGetSequenceIn(cls.netcon);
if (cl.protocol_pext2 & PEXT2_PREDINFO)

0 comments on commit bc6c990

Please sign in to comment.