1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-12-13 23:57:41 +02:00

CSDL_Ext::alphaTransform does not need to return the modified surface.

This commit is contained in:
Frank Zago
2009-06-06 22:47:23 +00:00
parent 78d62481e4
commit c75bbc359e
4 changed files with 6 additions and 7 deletions

View File

@@ -384,7 +384,7 @@ CTerrainRect::CTerrainRect()
arrows = CDefHandler::giveDef("ADAG.DEF");
for(size_t y=0; y < arrows->ourImages.size(); ++y)
{
arrows->ourImages[y].bitmap = CSDL_Ext::alphaTransform(arrows->ourImages[y].bitmap);
CSDL_Ext::alphaTransform(arrows->ourImages[y].bitmap);
}
}
CTerrainRect::~CTerrainRect()
@@ -1605,4 +1605,4 @@ void CAdvMapInt::select(const CArmedInstance *sel )
townList.draw(screen);
heroList.draw(screen);
infoBar.draw(screen);
}
}