mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Make the CI happy
This commit is contained in:
@@ -138,10 +138,10 @@ void CheatsSerialise(DataSerialiser& ds)
|
||||
|
||||
for (uint16_t i = 0; i < count; i++)
|
||||
{
|
||||
CheatType type;
|
||||
ds << reinterpret_cast<int32_t&>(type);
|
||||
int32_t type = 0;
|
||||
ds << type;
|
||||
|
||||
switch (type)
|
||||
switch (static_cast<CheatType>(type))
|
||||
{
|
||||
case CheatType::SandboxMode:
|
||||
ds << gCheatsSandboxMode;
|
||||
@@ -206,6 +206,8 @@ void CheatsSerialise(DataSerialiser& ds)
|
||||
case CheatType::EnableAllDrawableTrackPieces:
|
||||
ds << gCheatsEnableAllDrawableTrackPieces;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user