1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-25 15:54:31 +01:00

Fix claxon audio bug on crossings that span multiple tiles

Co-Authored-By: Aaron van Geffen <604665+AaronVanGeffen@users.noreply.github.com>
This commit is contained in:
matheusvb3
2025-10-27 18:07:48 -03:00
committed by GitHub
parent 9e8c0cbe67
commit 70266347d1
2 changed files with 2 additions and 0 deletions

View File

@@ -8771,6 +8771,7 @@ void Vehicle::UpdateCrossings() const
if (!playedClaxon && !pathElement->IsBlockedByVehicle())
{
Claxon();
playedClaxon = true;
}
crossingBonus = 4;
pathElement->SetIsBlockedByVehicle(true);