mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-20 21:43:06 +01:00
Make GfxDrawSprite() take reference
This commit is contained in:
committed by
duncanspumpkin
parent
437329bb13
commit
9c2d5b9fef
@@ -81,8 +81,8 @@ void BannerObject::DrawPreview(DrawPixelInfo& dpi, int32_t width, int32_t height
|
||||
auto image0 = ImageId(_legacyType.image, COLOUR_BORDEAUX_RED);
|
||||
auto image1 = ImageId(_legacyType.image + 1, COLOUR_BORDEAUX_RED);
|
||||
|
||||
GfxDrawSprite(&dpi, image0, screenCoords + ScreenCoordsXY{ -12, 8 });
|
||||
GfxDrawSprite(&dpi, image1, screenCoords + ScreenCoordsXY{ -12, 8 });
|
||||
GfxDrawSprite(dpi, image0, screenCoords + ScreenCoordsXY{ -12, 8 });
|
||||
GfxDrawSprite(dpi, image1, screenCoords + ScreenCoordsXY{ -12, 8 });
|
||||
}
|
||||
|
||||
void BannerObject::ReadJson(IReadObjectContext* context, json_t& root)
|
||||
|
||||
Reference in New Issue
Block a user