summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/train_cmd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/train_cmd.cpp b/src/train_cmd.cpp
index 94921a3eb..8d9b4fe42 100644
--- a/src/train_cmd.cpp
+++ b/src/train_cmd.cpp
@@ -992,8 +992,8 @@ static CommandCost CheckTrainAttachment(Train *t)
error = GetGRFStringID(head->GetGRFID(), 0xD000 + callback);
} else {
switch (callback) {
- case 0x400: // allow
- case 0x401: // allow if railtypes match (always the case for OpenTTD)
+ case 0x400: // allow if railtypes match (always the case for OpenTTD)
+ case 0x401: // allow
break;
default: // unknown reason -> disallow