summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2011-11-09 00:51:50 +0000
committerfrosch <frosch@openttd.org>2011-11-09 00:51:50 +0000
commitab86777efa7df7d561206f8ab9f4dc5f4296e609 (patch)
tree5f9d35b445ee8ec6ed31f246672e45dd1967fabc
parentcb876cd6a0480e00ca5685833dd68f57ce033ffe (diff)
downloadopenttd-ab86777efa7df7d561206f8ab9f4dc5f4296e609.tar.xz
(svn r23171) -Fix (r23142): Fix comment.
-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