From a116bb530ff2943de2a734e0d0714f4a9b890d14 Mon Sep 17 00:00:00 2001 From: Michael Steenbeek Date: Tue, 9 Jan 2018 16:51:14 +0100 Subject: [PATCH] Remove unused ORI_RIDE_FLAG_SEPARATE --- src/openrct2/object/ObjectRepository.h | 5 ----- src/openrct2/object/RideObject.cpp | 4 ---- 2 files changed, 9 deletions(-) diff --git a/src/openrct2/object/ObjectRepository.h b/src/openrct2/object/ObjectRepository.h index 5d47bad14e..70e2e03561 100644 --- a/src/openrct2/object/ObjectRepository.h +++ b/src/openrct2/object/ObjectRepository.h @@ -111,8 +111,3 @@ void object_draw_preview(const void * object, rct_drawpixelinfo * dpi #ifdef __cplusplus } #endif - -enum ORI_RIDE_FLAG -{ - ORI_RIDE_FLAG_SEPARATE = 1 << 0, -}; diff --git a/src/openrct2/object/RideObject.cpp b/src/openrct2/object/RideObject.cpp index ba4788556b..3448d6d288 100644 --- a/src/openrct2/object/RideObject.cpp +++ b/src/openrct2/object/RideObject.cpp @@ -346,10 +346,6 @@ void RideObject::SetRepositoryItem(ObjectRepositoryItem * item) const } uint8 flags = 0; - if (_legacyType.flags & RIDE_ENTRY_FLAG_SEPARATE_RIDE) - { - flags |= ORI_RIDE_FLAG_SEPARATE; - } item->RideFlags = flags; // Find the first non-null ride type, to be used when checking the ride group