From a089934338a90589909a9d3aa34a9397adffb60e Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Fri, 22 Nov 2002 05:22:07 +0000 Subject: [PATCH] fix a really nasty wrong index bug that would cause SIGFPE when recording demos --- qw/source/sv_demo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qw/source/sv_demo.c b/qw/source/sv_demo.c index 88e8e75d2..59accce3c 100644 --- a/qw/source/sv_demo.c +++ b/qw/source/sv_demo.c @@ -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) {