mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-26 16:24:35 +01:00
Remove ObjectType++ operator, ensure ObjectTypes size
This commit is contained in:
@@ -28,11 +28,6 @@
|
||||
|
||||
using namespace OpenRCT2;
|
||||
|
||||
ObjectType& operator++(ObjectType& d, int)
|
||||
{
|
||||
return d = (d == ObjectType::Count) ? ObjectType::Ride : static_cast<ObjectType>(static_cast<uint8_t>(d) + 1);
|
||||
}
|
||||
|
||||
ObjectEntryDescriptor::ObjectEntryDescriptor(const rct_object_entry& newEntry)
|
||||
{
|
||||
if (!newEntry.IsEmpty())
|
||||
|
||||
Reference in New Issue
Block a user