From cd177e755e5d51a5c110f8ffd35854d1e7830d7a Mon Sep 17 00:00:00 2001 From: dP Date: Fri, 2 Jan 2026 03:36:16 +0500 Subject: [PATCH] Fix bulldozing train stations (#50) --- cm_changelog.txt | 4 ++++ src/rail_gui.cpp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/cm_changelog.txt b/cm_changelog.txt index ea40f78d54..3f6f99658b 100644 --- a/cm_changelog.txt +++ b/cm_changelog.txt @@ -73,6 +73,10 @@ This is usable for any OpenTTD servers == CHANGELOG == + +*** 15.0 *** +- Fixed bulldozing train stations (#50). + *** 14.1 *** - Fixed polyrail endpoint update when removing rail. - Fixed industry blinking rate on minimap. diff --git a/src/rail_gui.cpp b/src/rail_gui.cpp index f3ffa1740e..b0c378eea9 100644 --- a/src/rail_gui.cpp +++ b/src/rail_gui.cpp @@ -63,7 +63,7 @@ /* CM static */ RailType _cur_railtype; ///< Rail type of the current build-rail toolbar. -static bool _remove_button_clicked; ///< Flag whether 'remove' toggle-button is currently enabled +/* CM static */ extern bool _remove_button_clicked; ///< Flag whether 'remove' toggle-button is currently enabled static bool _cm_invert_remove; ///< Invert remove mode on tools (when fn-clicked) /* CM static */ DiagDirection _build_depot_direction; ///< Currently selected depot direction static bool _convert_signal_button; ///< convert signal button in the signal GUI pressed