mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-12 02:28:11 +02:00
Fix loading images
This commit is contained in:
parent
0b7edd471c
commit
3a913140fd
@ -477,7 +477,7 @@ inline void ImageLoader::Load(size_t size, ui8 color)
|
||||
|
||||
inline void ImageLoader::EndLine()
|
||||
{
|
||||
lineStart += fullSize.x();
|
||||
lineStart += image->bytesPerLine();
|
||||
position = lineStart;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user