mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-24 00:03:11 +01:00
Clean up C bits from Testpaint
This commit is contained in:
committed by
Michael Steenbeek
parent
b20ac6157f
commit
36bc1f816c
@@ -1098,16 +1098,14 @@ private:
|
||||
}
|
||||
};
|
||||
|
||||
extern "C"
|
||||
int generatePaintCode(uint8 rideType)
|
||||
{
|
||||
int generatePaintCode(uint8 rideType)
|
||||
if (ride_type_has_flag(rideType, RIDE_TYPE_FLAG_FLAT_RIDE))
|
||||
{
|
||||
if (ride_type_has_flag(rideType, RIDE_TYPE_FLAG_FLAT_RIDE))
|
||||
{
|
||||
fprintf(stderr, "Flat rides not supported.\n");
|
||||
}
|
||||
|
||||
auto pcg = PaintCodeGenerator();
|
||||
return pcg.Generate(rideType);
|
||||
fprintf(stderr, "Flat rides not supported.\n");
|
||||
}
|
||||
|
||||
auto pcg = PaintCodeGenerator();
|
||||
return pcg.Generate(rideType);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user