- 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.

This commit is contained in:
Christoph Oelckers 2016-09-28 09:49:41 +02:00
parent 12ea8ffbe4
commit 676d2365e1

View file

@ -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();
}