From 676d2365e156bcb461fc0f4145b8b3476ecdf771 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Wed, 28 Sep 2016 09:49:41 +0200 Subject: [PATCH] - fixed: The ACS strings deserializer set incorrect indices in the bucket array. This only caused a problem if there were gaps in the string pool. --- src/p_acs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_acs.cpp b/src/p_acs.cpp index fefe5cd8f..1b52f5a93 100644 --- a/src/p_acs.cpp +++ b/src/p_acs.cpp @@ -754,7 +754,7 @@ void ACSStringPool::ReadStrings(FSerializer &file, const char *key) unsigned bucketnum = h % NUM_BUCKETS; Pool[ii].Hash = h; Pool[ii].Next = PoolBuckets[bucketnum]; - PoolBuckets[bucketnum] = i; + PoolBuckets[bucketnum] = ii; } file.EndObject(); }