Changeset - r14939:512b4e504c88
[Not reviewed]
master
0 1 0
peter1138 - 15 years ago 2010-04-03 20:25:23
peter1138@openttd.org
(svn r19556) -Fix (r19434): Incorrect speed limit reported for rail depots with original acceleration model.
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/rail_cmd.cpp
Show inline comments
 
@@ -2629,11 +2629,13 @@ static void GetTileDesc_Track(TileIndex 
 

	
 
		case RAIL_TILE_DEPOT:
 
			td->str = STR_LAI_RAIL_DESCRIPTION_TRAIN_DEPOT;
 
			if (_settings_game.vehicle.train_acceleration_model != AM_ORIGINAL) {
 
			if (td->rail_speed > 0) {
 
				td->rail_speed = min(td->rail_speed, 61);
 
			} else {
 
				td->rail_speed = 61;
 
			}
 
			}
 
			break;
 

	
 
		default:
0 comments (0 inline, 0 general)