mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-04 13:42:55 +01:00
Make srcX and srcY work with indexed images
This commit is contained in:
@@ -92,6 +92,7 @@ std::vector<int32_t> ImageImporter::GetPixels(
|
||||
|
||||
if (flags & IMPORT_FLAGS::KEEP_PALETTE)
|
||||
{
|
||||
palettedSrc += srcX + srcY * pitch;
|
||||
for (uint32_t y = 0; y < height; y++)
|
||||
{
|
||||
for (uint32_t x = 0; x < width; x++)
|
||||
|
||||
Reference in New Issue
Block a user