mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-23 14:54:30 +01:00
Turn vehicle sprite flags into a 32-bit integer
At the request of X7123M3-256.
This commit is contained in:
committed by
GitHub
parent
4c1ab8d934
commit
380d3a6cbe
@@ -789,7 +789,7 @@ rct_ride_entry_vehicle RideObject::ReadJsonCar(json_t& jCar)
|
||||
auto jFrames = jCar["frames"];
|
||||
if (jFrames.is_object())
|
||||
{
|
||||
car.sprite_flags = Json::GetFlags<uint16_t>(
|
||||
car.sprite_flags = Json::GetFlags<uint32_t>(
|
||||
jFrames,
|
||||
{
|
||||
{ "flat", VEHICLE_SPRITE_FLAG_FLAT },
|
||||
|
||||
Reference in New Issue
Block a user