summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/newgrf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
index a1e8d0e54..36cdadf68 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -3969,8 +3969,8 @@ static ChangeInfoResult RailTypeChangeInfo(uint id, int numinfo, int prop, ByteR
RailType rt = GetRailTypeByLabel(BSWAP32(label), false);
if (rt != INVALID_RAILTYPE) {
switch (prop) {
+ case 0x0F: SetBit(rti->powered_railtypes, rt); // Powered implies compatible.
case 0x0E: SetBit(rti->compatible_railtypes, rt); break;
- case 0x0F: SetBit(rti->powered_railtypes, rt); break;
case 0x18: SetBit(rti->introduction_required_railtypes, rt); break;
case 0x19: SetBit(rti->introduces_railtypes, rt); break;
}