From 348cecb644255d20f1e932bc49711807788452d4 Mon Sep 17 00:00:00 2001 From: nukeykt Date: Fri, 31 Jan 2020 00:20:31 +0900 Subject: [PATCH] Blood: revert change that broke demos --- source/blood/src/blood.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/source/blood/src/blood.cpp b/source/blood/src/blood.cpp index 862b386e3..8f4c59ac8 100644 --- a/source/blood/src/blood.cpp +++ b/source/blood/src/blood.cpp @@ -808,9 +808,12 @@ void ProcessFrame(void) gPlayer[i].input.q16mlook = gFifoInput[gNetFifoTail&255][i].q16mlook; } gNetFifoTail++; - CalcGameChecksum(); - memcpy(gCheckFifo[gCheckHead[myconnectindex]&255][myconnectindex], gChecksum, sizeof(gChecksum)); - gCheckHead[myconnectindex]++; + if (!(gFrame&7)) + { + CalcGameChecksum(); + memcpy(gCheckFifo[gCheckHead[myconnectindex]&255][myconnectindex], gChecksum, sizeof(gChecksum)); + gCheckHead[myconnectindex]++; + } for (int i = connecthead; i >= 0; i = connectpoint2[i]) { if (gPlayer[i].input.keyFlags.quit)