Skip to content

Commit

Permalink
Make old WoodenBSupportsPaintSetup() overload static
Browse files Browse the repository at this point in the history
  • Loading branch information
Gymnasiast committed Nov 12, 2023
1 parent 1eb0b27 commit e6685c6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/openrct2/paint/Supports.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ bool WoodenASupportsPaintSetupRotated(
*
* @return (al) whether supports have been drawn
*/
bool WoodenBSupportsPaintSetup(
static bool WoodenBSupportsPaintSetup(
PaintSession& session, int32_t supportType, int32_t special, int32_t height, ImageId imageTemplate)
{
if (!(session.Flags & PaintSessionFlags::PassedSurface))
Expand Down
2 changes: 0 additions & 2 deletions src/openrct2/paint/Supports.h
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,6 @@ bool WoodenASupportsPaintSetup(
bool WoodenASupportsPaintSetupRotated(
PaintSession& session, WoodenSupportType supportType, WoodenSupportSubType subType, Direction direction, int32_t height,
ImageId imageTemplate, WoodenSupportTransitionType transitionType = WoodenSupportTransitionType::None);
bool WoodenBSupportsPaintSetup(
PaintSession& session, int32_t supportType, int32_t special, int32_t height, ImageId imageTemplate);
bool WoodenBSupportsPaintSetup(
PaintSession& session, WoodenSupportType supportType, WoodenSupportSubType subType, int32_t height, ImageId imageTemplate,
WoodenSupportTransitionType transitionType = WoodenSupportTransitionType::None, Direction direction = 0);
Expand Down

0 comments on commit e6685c6

Please sign in to comment.