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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user