1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-12-05 23:28:14 +02:00

[tweaks] IImage * -> auto

This commit is contained in:
AlexVinS
2018-03-30 14:02:04 +03:00
parent 031d3204f7
commit 43acfa160b
10 changed files with 40 additions and 40 deletions

View File

@@ -303,7 +303,7 @@ void Graphics::loadFogOfWar()
for(const int rotation : rotations)
{
fogOfWarPartialHide->duplicateImage(0, rotation, 0);
IImage * image = fogOfWarPartialHide->getImage(size, 0);
auto image = fogOfWarPartialHide->getImage(size, 0);
image->verticalFlip();
size++;
}