mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix formating. Add correct includes
This commit is contained in:
parent
aef3f24178
commit
7484b3f00e
|
@ -1,5 +1,5 @@
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* Copyright (c) 2014-2018 OpenRCT2 developers
|
* Copyright (c) 2014-2019 OpenRCT2 developers
|
||||||
*
|
*
|
||||||
* For a complete list of all authors, please refer to contributors.md
|
* For a complete list of all authors, please refer to contributors.md
|
||||||
* Interested in contributing? Visit https://github.com/OpenRCT2/OpenRCT2
|
* Interested in contributing? Visit https://github.com/OpenRCT2/OpenRCT2
|
||||||
|
@ -9,6 +9,9 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include "../OpenRCT2.h"
|
||||||
|
#include "../management/Finance.h"
|
||||||
|
#include "../world/Park.h"
|
||||||
#include "../world/Surface.h"
|
#include "../world/Surface.h"
|
||||||
#include "GameAction.h"
|
#include "GameAction.h"
|
||||||
|
|
||||||
|
@ -115,7 +118,6 @@ public:
|
||||||
if (!gCheatsDisableClearanceChecks)
|
if (!gCheatsDisableClearanceChecks)
|
||||||
wall_remove_at_z(_coords.x, _coords.y, surfaceHeight);
|
wall_remove_at_z(_coords.x, _coords.y, surfaceHeight);
|
||||||
|
|
||||||
|
|
||||||
SurfaceElement* surfaceElement = map_get_surface_element_at(_coords)->AsSurface();
|
SurfaceElement* surfaceElement = map_get_surface_element_at(_coords)->AsSurface();
|
||||||
if (surfaceElement == nullptr)
|
if (surfaceElement == nullptr)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue