From cee953f899ac1cb23cf176eada6fd95f0e87df5d Mon Sep 17 00:00:00 2001 From: duncanspumpkin Date: Thu, 4 Apr 2019 19:20:55 +0100 Subject: [PATCH] Fix #9042. Pass the flags to wall placement when in track design mode --- src/openrct2/ride/TrackDesign.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/openrct2/ride/TrackDesign.cpp b/src/openrct2/ride/TrackDesign.cpp index b9954db94a..35debd6efe 100644 --- a/src/openrct2/ride/TrackDesign.cpp +++ b/src/openrct2/ride/TrackDesign.cpp @@ -960,6 +960,7 @@ static bool TrackDesignPlaceSceneryElement( auto wallPlaceAction = WallPlaceAction( entry_index, { mapCoord.x, mapCoord.y, z }, rotation, scenery->primary_colour, scenery->secondary_colour, scenery->flags & 0xFC); + wallPlaceAction.SetFlags(flags); auto res = flags & GAME_COMMAND_FLAG_APPLY ? GameActions::Execute(&wallPlaceAction) : GameActions::Query(&wallPlaceAction);