- 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.
This commit is contained in:
Christoph Oelckers 2020-11-27 23:34:36 +01:00
parent a587a1a888
commit 6a29c38240
1 changed files with 2 additions and 1 deletions

View File

@ -632,7 +632,8 @@ void SerializeEvents(FSerializer& arc)
if (arc.BeginObject("events")) if (arc.BeginObject("events"))
{ {
arc("bucketcount", bucketCount) arc("bucketcount", bucketCount)
.Array("buckets", rxBucket, bucketCount); .Array("buckets", rxBucket, bucketCount)
.Array("buckethead", bucketHead, countof(bucketHead));
if (arc.isReading()) createBucketHeads(); if (arc.isReading()) createBucketHeads();
int numEvents = (int)queue.size(); int numEvents = (int)queue.size();