1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 23:04:36 +01:00

Fix #16427. Actually copy banners when using tile inspector (#16450)

This commit is contained in:
Duncan
2022-01-22 08:22:46 +00:00
committed by GitHub
parent 131763143d
commit b3bae9429c
2 changed files with 4 additions and 1 deletions

View File

@@ -36,6 +36,7 @@
- Fix: [#16188] Medium-size banked turns on the Twister and Vertical Roller Coaster have incorrect support placement (partly original bug).
- Fix: [#16327] Crash on malformed network packet.
- Fix: [#16449] [Plugin] Viewport doesn't hide when switching tabs.
- Fix: [#16450] Banner style not copied when using tile inspector.
- Fix: [objects#165] Glitch when Bengal Tiger Cars go through a corner.
0.3.5.1 (2021-11-21)

View File

@@ -340,7 +340,9 @@ namespace OpenRCT2::TileInspector
log_error("No free banners available");
return GameActions::Result(GameActions::Status::Unknown, STR_TOO_MANY_BANNERS_IN_GAME, STR_NONE);
}
// Copy the banners style
*newBanner = *GetBanner(bannerIndex);
// Reset the location to the paste location
newBanner->position = tileLoc;
// Use the new banner index