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