diff options
author | Michael Lutz <michi@icosahedron.de> | 2021-11-14 20:07:23 +0100 |
---|---|---|
committer | Michael Lutz <michi@icosahedron.de> | 2021-12-16 22:28:32 +0100 |
commit | 55170ae703dd2f55ae5c2151aa97dd12da1e917e (patch) | |
tree | a220d3c55c86c02f540828d99ead558b2c5498fb /src/station_cmd.cpp | |
parent | 6fe445e6c0fa3163aba48b1ec6d810b6594777bd (diff) | |
download | openttd-55170ae703dd2f55ae5c2151aa97dd12da1e917e.tar.xz |
Codechange: Un-bitstuff rail commands.
Diffstat (limited to 'src/station_cmd.cpp')
-rw-r--r-- | src/station_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp index bdc58588b..6424a73e1 100644 --- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -925,7 +925,7 @@ static CommandCost CheckFlatLandRailStation(TileArea tile_area, DoCommandFlag fl affected_vehicles.push_back(v); } } - CommandCost ret = Command<CMD_REMOVE_SINGLE_RAIL>::Do(flags, tile_cur, 0, track, {}); + CommandCost ret = Command<CMD_REMOVE_SINGLE_RAIL>::Do(flags, tile_cur, track); if (ret.Failed()) return ret; cost.AddCost(ret); /* With flags & ~DC_EXEC CmdLandscapeClear would fail since the rail still exists */ |