forked from mirror/OpenTTD
(svn r9315) -Merge: The newhouses branch. With this merge comes almost complete support for
the newhouses grf specs, so all newhouses grfs will be playable in the game. Many thanks to everyone who contributed code and ideas, and all the testers who found things we missed.
This commit is contained in:
@@ -66,3 +66,12 @@ bool PlayVehicleSound(const Vehicle *v, VehicleSoundEvent event)
|
||||
if (callback < GetNumSounds()) SndPlayVehicleFx((SoundFx)callback, v);
|
||||
return true;
|
||||
}
|
||||
|
||||
bool PlayHouseSound(uint16 sound_id, TileIndex tile)
|
||||
{
|
||||
if (sound_id < GetNumOriginalSounds()) {
|
||||
SndPlayTileFx((SoundFx)sound_id, tile);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user