1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 19:13:07 +01:00

Fix stray changes

This commit is contained in:
Gymnasiast
2021-09-10 09:19:20 +02:00
parent 228c1ac7f5
commit c567ca09db
3 changed files with 3 additions and 8 deletions

View File

@@ -19,7 +19,6 @@
#include <openrct2/core/Guard.hpp>
#include <openrct2/localisation/Localisation.h>
#include <openrct2/localisation/StringIds.h>
#include <openrct2/object/FootpathObject.h>
#include <openrct2/object/TerrainEdgeObject.h>
#include <openrct2/object/TerrainSurfaceObject.h>
#include <openrct2/ride/RideData.h>

View File

@@ -14,8 +14,6 @@
#include "../../drawing/LightFX.h"
#include "../../interface/Viewport.h"
#include "../../localisation/Localisation.h"
#include "../../object/FootpathObject.h"
#include "../../object/FootpathSurfaceObject.h"
#include "../../object/StationObject.h"
#include "../../ride/RideData.h"
#include "../../ride/TrackDesign.h"
@@ -262,7 +260,6 @@ static void park_entrance_paint(paint_session* session, uint8_t direction, int32
switch (part_index)
{
case 0:
{
if (surfaceDescriptor != nullptr)
{
image_id = (surfaceDescriptor->Image + 5 * (1 + (direction & 1))) | ghost_id;
@@ -320,7 +317,6 @@ static void park_entrance_paint(paint_session* session, uint8_t direction, int32
PaintAddImageAsChild(session, stsetup, 0, 0, 0x1C, 0x1C, 0x2F, text_height, 2, 2, text_height);
}
break;
}
case 1:
case 2:
entrance = static_cast<rct_entrance_type*>(object_entry_get_chunk(ObjectType::ParkEntrance, 0));

View File

@@ -293,9 +293,6 @@ public:
const PathSurfaceDescriptor* GetSurfaceDescriptor() const;
const PathRailingsDescriptor* GetRailingsDescriptor() const;
bool ShouldDrawPathOverSupports() const;
void SetShouldDrawPathOverSupports(bool on);
uint8_t GetQueueBannerDirection() const;
void SetQueueBannerDirection(uint8_t direction);
@@ -344,6 +341,9 @@ public:
uint8_t GetAdditionStatus() const;
void SetAdditionStatus(uint8_t newStatus);
bool ShouldDrawPathOverSupports() const;
void SetShouldDrawPathOverSupports(bool on);
bool IsLevelCrossing(const CoordsXY& coords) const;
};
assert_struct_size(PathElement, 16);