mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-24 23:34:37 +01:00
Make GfxDrawSprite() take reference
This commit is contained in:
committed by
duncanspumpkin
parent
437329bb13
commit
9c2d5b9fef
@@ -163,7 +163,7 @@ public:
|
||||
g1temp.flags = G1_FLAG_HAS_TRANSPARENCY;
|
||||
GfxSetG1Element(SPR_TEMP, &g1temp);
|
||||
DrawingEngineInvalidateImage(SPR_TEMP);
|
||||
GfxDrawSprite(&dpi, ImageId(SPR_TEMP), screenPos);
|
||||
GfxDrawSprite(dpi, ImageId(SPR_TEMP), screenPos);
|
||||
|
||||
screenPos = windowPos + ScreenCoordsXY{ widget->midX(), widget->bottom - 12 };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user