Changeset - r16422:45fe03d3bf62
[Not reviewed]
master
0 1 0
terkhen - 14 years ago 2010-11-11 22:19:27
terkhen@openttd.org
(svn r21148) -Fix (r21098): Evaluate callback 36 for ship speed as frequently as done for other vehicle types.
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/ship_cmd.cpp
Show inline comments
 
@@ -208,12 +208,13 @@ Trackdir Ship::GetVehicleTrackdir() cons
 
	return TrackDirectionToTrackdir(FindFirstTrack(this->state), this->direction);
 
}
 

	
 
void Ship::MarkDirty()
 
{
 
	this->UpdateViewport(false, false);
 
	this->UpdateCache();
 
}
 

	
 
static void PlayShipSound(const Vehicle *v)
 
{
 
	if (!PlayVehicleSound(v, VSE_START)) {
 
		SndPlayVehicleFx(ShipVehInfo(v->engine_type)->sfx, v);
0 comments (0 inline, 0 general)