mirror of https://github.com/OpenTTD/OpenTTD.git
Fix #11297, 4e9a871: SCC_GENDER_LIST tried to determine the gender from the wrong sub-string. (#11299)
This commit is contained in:
parent
39ef4b503f
commit
c6f5b57f13
|
@ -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. */
|
||||
|
|
Loading…
Reference in New Issue