1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-24 15:09:10 +00:00

Fix: Not enough parameters supplied for Autoreplace window caption. (#13886)

This commit is contained in:
2025-03-24 23:01:04 +00:00
committed by GitHub
parent 488cda728d
commit 8a53ccf8f1

View File

@@ -388,11 +388,11 @@ public:
case WID_RV_CAPTION:
switch (this->sel_group.base()) {
case ALL_GROUP.base():
return GetString(STR_REPLACE_VEHICLES_WHITE, STR_REPLACE_VEHICLE_TRAIN + this->window_number, STR_GROUP_ALL_TRAINS + this->window_number);
return GetString(STR_REPLACE_VEHICLES_WHITE, STR_REPLACE_VEHICLE_TRAIN + this->window_number, STR_GROUP_ALL_TRAINS + this->window_number, std::monostate{});
break;
case DEFAULT_GROUP.base():
return GetString(STR_REPLACE_VEHICLES_WHITE, STR_REPLACE_VEHICLE_TRAIN + this->window_number, STR_GROUP_DEFAULT_TRAINS + this->window_number);
return GetString(STR_REPLACE_VEHICLES_WHITE, STR_REPLACE_VEHICLE_TRAIN + this->window_number, STR_GROUP_DEFAULT_TRAINS + this->window_number, std::monostate{});
break;
default: