equal
deleted
inserted
replaced
1179 } |
1179 } |
1180 } |
1180 } |
1181 |
1181 |
1182 static void ConvertTownOwner(void) |
1182 static void ConvertTownOwner(void) |
1183 { |
1183 { |
1184 uint tile; |
1184 TileIndex tile; |
1185 |
1185 |
1186 for (tile = 0; tile != MapSize(); tile++) { |
1186 for (tile = 0; tile != MapSize(); tile++) { |
1187 if (IsTileType(tile, MP_STREET)) { |
1187 if (IsTileType(tile, MP_STREET)) { |
1188 if (IsLevelCrossing(tile) && _map3_lo[tile] & 0x80) |
1188 if (IsLevelCrossing(tile) && _map3_lo[tile] & 0x80) |
1189 _map3_lo[tile] = OWNER_TOWN; |
1189 _map3_lo[tile] = OWNER_TOWN; |