fix a really nasty wrong index bug that would cause SIGFPE when recording demos

This commit is contained in:
Bill Currie 2002-11-22 05:22:07 +00:00
parent a62a92c1be
commit a089934338

View file

@ -498,7 +498,7 @@ SV_DemoWritePackets (int num)
}
for (j = 0; j < 3; j++)
if (origin[j] != demoinfo->origin[i])
if (origin[j] != demoinfo->origin[j])
flags |= DF_ORIGIN << j;
if (cl->fixangle || demo.fixangletime[i] != cl->cmdtime) {