summaryrefslogtreecommitdiff
path: root/src/script/api/script_stationlist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/api/script_stationlist.cpp')
-rw-r--r--src/script/api/script_stationlist.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script/api/script_stationlist.cpp b/src/script/api/script_stationlist.cpp
index ab9503a1b..51a06b5a7 100644
--- a/src/script/api/script_stationlist.cpp
+++ b/src/script/api/script_stationlist.cpp
@@ -151,13 +151,13 @@ void CargoCollector::Update(StationID from, StationID via, uint amount)
switch (Tselector) {
case ScriptStationList_Cargo::CS_VIA_BY_FROM:
if (via != this->other_station) return;
- /* fall through */
+ FALLTHROUGH;
case ScriptStationList_Cargo::CS_BY_FROM:
key = from;
break;
case ScriptStationList_Cargo::CS_FROM_BY_VIA:
if (from != this->other_station) return;
- /* fall through */
+ FALLTHROUGH;
case ScriptStationList_Cargo::CS_BY_VIA:
key = via;
break;