mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-12-01 00:21:35 +00:00
- 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:
parent
12ea8ffbe4
commit
676d2365e1
1 changed files with 1 additions and 1 deletions
|
@ -754,7 +754,7 @@ void ACSStringPool::ReadStrings(FSerializer &file, const char *key)
|
||||||
unsigned bucketnum = h % NUM_BUCKETS;
|
unsigned bucketnum = h % NUM_BUCKETS;
|
||||||
Pool[ii].Hash = h;
|
Pool[ii].Hash = h;
|
||||||
Pool[ii].Next = PoolBuckets[bucketnum];
|
Pool[ii].Next = PoolBuckets[bucketnum];
|
||||||
PoolBuckets[bucketnum] = i;
|
PoolBuckets[bucketnum] = ii;
|
||||||
}
|
}
|
||||||
file.EndObject();
|
file.EndObject();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue