Changeset - r14279:b1c04915b4a5
[Not reviewed]
master
0 2 0
frosch - 14 years ago 2010-01-17 00:51:18
frosch@openttd.org
(svn r18841) -Fix (r16869): Default-waypoint was drawn incorrectly for monorail and maglev in the waypoint picker.
2 files changed with 3 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/station_cmd.cpp
Show inline comments
 
@@ -2476,7 +2476,8 @@ void StationPickerDrawSprite(int x, int 
 
		DrawSprite(SPR_TRAMWAY_TRAM + (t->ground.sprite == SPR_ROAD_PAVED_STRAIGHT_X ? 1 : 0), PAL_NONE, x, y);
 
	}
 

	
 
	DrawCommonTileSeqInGUI(x, y, t, total_offset, 0, pal);
 
	/* Default waypoint has no railtype specific sprites */
 
	DrawCommonTileSeqInGUI(x, y, t, st == STATION_WAYPOINT ? 0 : total_offset, 0, pal);
 
}
 

	
 
static uint GetSlopeZ_Station(TileIndex tile, uint x, uint y)
src/train_cmd.cpp
Show inline comments
 
@@ -2946,7 +2946,7 @@ int Train::UpdateSpeed()
 
			this->max_speed = this->GetCurrentMaxSpeed();
 
			accel = this->GetAcceleration();
 
			break;
 
 	}
 
	}
 

	
 
	uint spd = this->subspeed + accel;
 
	this->subspeed = (byte)spd;
0 comments (0 inline, 0 general)