1
0
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:
Gymnasiast
2023-04-03 20:38:28 +02:00
committed by duncanspumpkin
parent 437329bb13
commit 9c2d5b9fef
64 changed files with 213 additions and 213 deletions

View File

@@ -968,7 +968,7 @@ public:
{
auto image = ImageId(ObjectSelectionPages[i].Image);
auto screenPos = windowPos + ScreenCoordsXY{ widget.left, widget.top };
GfxDrawSprite(&dpi, image, screenPos);
GfxDrawSprite(dpi, image, screenPos);
}
}
@@ -998,7 +998,7 @@ public:
spriteIndex += (i == 4 ? ThrillRidesTabAnimationSequence[frame] : frame);
auto screenPos = windowPos + ScreenCoordsXY{ widget.left, widget.top };
GfxDrawSprite(&dpi, ImageId(spriteIndex, colours[1]), screenPos);
GfxDrawSprite(dpi, ImageId(spriteIndex, colours[1]), screenPos);
}
}