From f3f427bf4bd489054634d9f78e7ab157f46194bc Mon Sep 17 00:00:00 2001 From: "Anton E. Gavrilov" Date: Wed, 4 Jul 2001 01:25:41 +0000 Subject: [PATCH] In CL_Record_f(): Fix the QW bug with wrong player entertime being recorded to demos. --- source/cl_demo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/cl_demo.c b/source/cl_demo.c index fda6dba..5c613c6 100644 --- a/source/cl_demo.c +++ b/source/cl_demo.c @@ -619,7 +619,7 @@ CL_Record_f (void) MSG_WriteByte (&buf, svc_updateentertime); MSG_WriteByte (&buf, i); - MSG_WriteFloat (&buf, player->entertime); + MSG_WriteFloat (&buf, realtime - player->entertime); MSG_WriteByte (&buf, svc_updateuserinfo); MSG_WriteByte (&buf, i);