From d6522f0aee6f1f36bb5fc6eb068421018e0ceaca Mon Sep 17 00:00:00 2001 From: duncanspumpkin Date: Sun, 7 Apr 2019 15:24:07 +0100 Subject: [PATCH] Fix formatting --- src/openrct2-ui/windows/TopToolbar.cpp | 2 +- src/openrct2/actions/LargeSceneryPlaceAction.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/openrct2-ui/windows/TopToolbar.cpp b/src/openrct2-ui/windows/TopToolbar.cpp index abae61bc06..7ad88c914d 100644 --- a/src/openrct2-ui/windows/TopToolbar.cpp +++ b/src/openrct2-ui/windows/TopToolbar.cpp @@ -31,8 +31,8 @@ #include #include #include -#include #include +#include #include #include #include diff --git a/src/openrct2/actions/LargeSceneryPlaceAction.hpp b/src/openrct2/actions/LargeSceneryPlaceAction.hpp index 29cbae6963..80111a85cf 100644 --- a/src/openrct2/actions/LargeSceneryPlaceAction.hpp +++ b/src/openrct2/actions/LargeSceneryPlaceAction.hpp @@ -326,7 +326,7 @@ private: TileElement* tileElement = map_get_surface_element_at({ curTile.x, curTile.y }); if (tileElement == nullptr) continue; - + SurfaceElement* surfaceElement = tileElement->AsSurface(); int32_t height = surfaceElement->base_height * 8; int32_t slope = surfaceElement->GetSlope();