1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-20 04:59:11 +00:00

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

This commit is contained in:
frosch
2023-09-14 23:59:57 +02:00
parent ba51a34b4c
commit 17c009aac3

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