mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-24 15:24:30 +01:00
Set tertiary colour correctly
This commit is contained in:
@@ -959,7 +959,7 @@ static bool TrackDesignPlaceSceneryElement(
|
||||
|
||||
auto wallPlaceAction = WallPlaceAction(
|
||||
entry_index, { mapCoord.x, mapCoord.y, z }, rotation, scenery->primary_colour, scenery->secondary_colour,
|
||||
scenery->flags & 0xFC);
|
||||
(scenery->flags & 0xFC) >> 2);
|
||||
wallPlaceAction.SetFlags(flags);
|
||||
auto res = flags & GAME_COMMAND_FLAG_APPLY ? GameActions::ExecuteNested(&wallPlaceAction)
|
||||
: GameActions::QueryNested(&wallPlaceAction);
|
||||
|
||||
Reference in New Issue
Block a user