Fix #8602: Wall piece collision detection deviates from vanilla (#9414)

Wall piece collision used the base height of the wall. Changed to use the clearance height.
This commit is contained in:
aw20368 2019-06-13 14:03:53 -04:00 committed by Michael Steenbeek
parent e5972f8a67
commit 9effe21dd0
2 changed files with 2 additions and 1 deletions

View File

@ -39,6 +39,7 @@
- Fix: [#8537] Imported RCT1 rides/shops are all numbered 1.
- Fix: [#8553] Scenery removal tool removes fences and paths while paused.
- Fix: [#8598] Taking screenshots fails with some park names.
- Fix: [#8602] Wall piece collision detection deviates from vanilla
- Fix: [#8649] Setting date does not work in multiplayer.
- Fix: [#8873] Potential crash when placing footpaths.
- Fix: [#8882] Submarine Ride does not count as indoors (original bug).

View File

@ -187,7 +187,7 @@ void fence_paint(paint_session* session, uint8_t direction, int32_t height, cons
imageColourFlags &= 0x0DFFFFFFF;
}
paint_util_set_general_support_height(session, height, 0x20);
paint_util_set_general_support_height(session, 8 * tile_element->clearance_height, 0x20);
uint32_t dword_141F710 = 0;
if (gTrackDesignSaveMode || (session->ViewFlags & VIEWPORT_FLAG_HIGHLIGHT_PATH_ISSUES))