mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-22 14:24:33 +01:00
Make GfxDrawSprite() take reference
This commit is contained in:
committed by
duncanspumpkin
parent
437329bb13
commit
9c2d5b9fef
@@ -43,8 +43,8 @@ void TerrainEdgeObject::DrawPreview(DrawPixelInfo& dpi, int32_t width, int32_t h
|
||||
auto screenCoords = ScreenCoordsXY{ width / 2, height / 2 };
|
||||
|
||||
auto imageId = ImageId(BaseImageId + 5);
|
||||
GfxDrawSprite(&dpi, imageId, screenCoords + ScreenCoordsXY{ 8, -8 });
|
||||
GfxDrawSprite(&dpi, imageId, screenCoords + ScreenCoordsXY{ 8, 8 });
|
||||
GfxDrawSprite(dpi, imageId, screenCoords + ScreenCoordsXY{ 8, -8 });
|
||||
GfxDrawSprite(dpi, imageId, screenCoords + ScreenCoordsXY{ 8, 8 });
|
||||
}
|
||||
|
||||
void TerrainEdgeObject::ReadJson(IReadObjectContext* context, json_t& root)
|
||||
|
||||
Reference in New Issue
Block a user