Codechange: Un-bitstuff station/depot/waypoint commands.
This commit is contained in:
@@ -1948,7 +1948,7 @@ struct StationViewWindow : public Window {
|
||||
break;
|
||||
|
||||
case WID_SV_CLOSE_AIRPORT:
|
||||
Command<CMD_OPEN_CLOSE_AIRPORT>::Post(0, this->window_number, 0, {});
|
||||
Command<CMD_OPEN_CLOSE_AIRPORT>::Post(this->window_number);
|
||||
break;
|
||||
|
||||
case WID_SV_TRAINS: // Show list of scheduled trains to this station
|
||||
@@ -2085,7 +2085,7 @@ struct StationViewWindow : public Window {
|
||||
{
|
||||
if (str == nullptr) return;
|
||||
|
||||
Command<CMD_RENAME_STATION>::Post(STR_ERROR_CAN_T_RENAME_STATION, 0, this->window_number, 0, str);
|
||||
Command<CMD_RENAME_STATION>::Post(STR_ERROR_CAN_T_RENAME_STATION, this->window_number, str);
|
||||
}
|
||||
|
||||
void OnResize() override
|
||||
|
Reference in New Issue
Block a user