mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-23 06:44:38 +01:00
Make GfxDrawSprite() take reference
This commit is contained in:
committed by
duncanspumpkin
parent
437329bb13
commit
9c2d5b9fef
@@ -866,7 +866,7 @@ namespace OpenRCT2::Ui::Windows
|
||||
auto imageOffset = frame % tab.imageFrameCount;
|
||||
image = image.WithIndex(image.GetIndex() + imageOffset);
|
||||
}
|
||||
GfxDrawSprite(&dpi, image, leftTop);
|
||||
GfxDrawSprite(dpi, image, leftTop);
|
||||
}
|
||||
tabIndex++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user