1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 12:33:17 +01:00

Fixes #3635 - Crash when inspecting paths (#3712)

This commit is contained in:
Hielke Morsink
2016-05-23 20:11:35 +02:00
committed by Ted John
parent 01f4ddd535
commit 15f3dcefd9
2 changed files with 3 additions and 2 deletions

View File

@@ -610,7 +610,7 @@ static void window_tile_inspector_scrollpaint(rct_window *w, rct_drawpixelinfo *
} else {
sprintf(
buffer, "Path (%s)%s%s",
language_get_string(get_footpath_item_entry(pathType)->name), // Path name
language_get_string(get_footpath_entry(pathType)->string_idx), // Path name
pathHasScenery ? " with " : "", // Adds " with " when there is something on the path
pathHasScenery ? language_get_string(get_footpath_item_entry(pathAdditionType)->name) : "" // Path addition name
);