1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00
This commit is contained in:
nordsoft
2022-11-19 00:02:08 +04:00
parent 7bac01f10a
commit 0d9f7d15a2

View File

@@ -453,7 +453,7 @@ void ImageLoader::init(QPoint SpriteSize, QPoint Margins, QPoint FullSize)
memset((void *)image->bits(), 0, fullSize.y() * image->bytesPerLine());
lineStart = image->bits();
lineStart += margins.y() * image->bytesPerLine + margins.x();
lineStart += margins.y() * image->bytesPerLine() + margins.x();
position = lineStart;
}