From 6a29c382405b408db5d27c8e021a9a4e72f0f1e2 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 27 Nov 2020 23:34:36 +0100 Subject: [PATCH] - Blood: write out the buckethead array to the savegame instead of trying to restore it afterward. It looks like this cannot be reliably reconstructed from a running level anymore. --- source/blood/src/eventq.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/blood/src/eventq.cpp b/source/blood/src/eventq.cpp index 9b104e6df..ac14498be 100644 --- a/source/blood/src/eventq.cpp +++ b/source/blood/src/eventq.cpp @@ -632,7 +632,8 @@ void SerializeEvents(FSerializer& arc) if (arc.BeginObject("events")) { arc("bucketcount", bucketCount) - .Array("buckets", rxBucket, bucketCount); + .Array("buckets", rxBucket, bucketCount) + .Array("buckethead", bucketHead, countof(bucketHead)); if (arc.isReading()) createBucketHeads(); int numEvents = (int)queue.size();