1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-30 01:49:10 +00:00

Fix #11297, 4e9a871: SCC_GENDER_LIST tried to determine the gender from the wrong sub-string. (#11299)

This commit is contained in:
frosch
2023-09-15 21:25:25 +02:00
committed by GitHub
parent 39ef4b503f
commit c6f5b57f13

View File

@@ -129,7 +129,7 @@ public:
*/
StringParameters GetRemainingParameters(size_t offset)
{
return StringParameters(this->parameters.subspan(this->offset, GetDataLeft()));
return StringParameters(this->parameters.subspan(offset, GetDataLeft()));
}
/** Return the amount of elements which can still be read. */