1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-26 03:52:01 +02:00

Fix loading images

This commit is contained in:
nordsoft 2022-11-18 23:26:19 +04:00
parent 0b7edd471c
commit 3a913140fd

View File

@ -477,7 +477,7 @@ inline void ImageLoader::Load(size_t size, ui8 color)
inline void ImageLoader::EndLine() inline void ImageLoader::EndLine()
{ {
lineStart += fullSize.x(); lineStart += image->bytesPerLine();
position = lineStart; position = lineStart;
} }