1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-02-01 03:05:24 +01:00

Fix #10464: Incorrect error messages for track placement (#10494)

This commit is contained in:
Kevin Laframboise
2020-01-02 03:11:24 -05:00
committed by Duncan
parent f4440b57b7
commit 13e946a239
2 changed files with 2 additions and 0 deletions

View File

@@ -137,6 +137,7 @@ The following people are not part of the development team, but have been contrib
* Joseph Atkins-Turkish (Spacerat)
* Tulio Paschoalin Leao (tupaschoal)
* Denis Khabenkov (kodmord)
* Kevin Laframboise (klaframboise)
## Toolchain
* (Balletie) - macOS

View File

@@ -391,6 +391,7 @@ static void window_track_place_tooldown(rct_window* w, rct_widgetindex widgetInd
// Unable to build track
audio_play_sound_at_location(SoundId::Error, trackLoc);
std::copy(res->ErrorMessageArgs.begin(), res->ErrorMessageArgs.end(), gCommonFormatArgs);
context_show_error(res->ErrorTitle, res->ErrorMessage);
}