mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-22 22:19:08 +00:00
@@ -129,7 +129,7 @@ public:
|
||||
*/
|
||||
StringParameters GetRemainingParameters(size_t offset)
|
||||
{
|
||||
return StringParameters(this->parameters.subspan(offset, GetDataLeft()));
|
||||
return StringParameters(this->parameters.subspan(offset, this->parameters.size() - offset));
|
||||
}
|
||||
|
||||
/** Return the amount of elements which can still be read. */
|
||||
|
Reference in New Issue
Block a user