mirror of
https://github.com/rosebudai/OpenRCT2-Web.git
synced 2026-12-05 20:55:14 +01:00
Merge OBJ_STRING_ID enums into one
This commit is contained in:
1 parent
0299844b13
commit
9fed68bf6f
13 files changed
+11
-65
No files matched your search
@@ -28,13 +28,6 @@ extern "C"
|
||||
#include "../rct1.h"
|
||||
}
|
||||
|
||||
enum OBJ_STRING_ID
|
||||
{
|
||||
OBJ_STRING_ID_NAME,
|
||||
OBJ_STRING_ID_DESCRIPTION,
|
||||
OBJ_STRING_ID_CAPACITY,
|
||||
};
|
||||
|
||||
RideObject::~RideObject()
|
||||
{
|
||||
for (int i = 0; i < 4; i++)
|
||||
@@ -90,7 +83,7 @@ void RideObject::ReadLegacy(IReadObjectContext * context, IStream * stream)
|
||||
|
||||
// Read preset colours, by default there are 32
|
||||
_presetColours.count = stream->ReadValue<uint8>();
|
||||
|
||||
|
||||
int coloursCount = _presetColours.count;
|
||||
// To indicate a ride has different colours each train the count
|
||||
// is set to 255. There are only actually 32 colours though.
|
||||
|
||||
Reference in new issue
Block a user