mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
(svn r15015) -Fix (r14919): Distant-join always failed for docks. Based on patch by PhilSophus.
This commit is contained in:
parent
508fc29221
commit
9a80c0b1de
@ -1206,7 +1206,7 @@ static const WindowDesc _select_station_desc = {
|
|||||||
*/
|
*/
|
||||||
static bool StationJoinerNeeded(CommandContainer cmd, int w, int h)
|
static bool StationJoinerNeeded(CommandContainer cmd, int w, int h)
|
||||||
{
|
{
|
||||||
if (CmdFailed(DoCommand(&cmd, DC_NO_WATER | DC_AUTO))) return false;
|
if (CmdFailed(DoCommand(&cmd, CommandFlagsToDCFlags(GetCommandFlags(cmd.cmd))))) return false;
|
||||||
|
|
||||||
/* Only show selection if distant join is enabled in the settings */
|
/* Only show selection if distant join is enabled in the settings */
|
||||||
if (!_settings_game.station.distant_join_stations) return false;
|
if (!_settings_game.station.distant_join_stations) return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user