mirror of
https://github.com/vcmi/vcmi.git
synced 2025-12-01 23:12:49 +02:00
- Fixed some warnings from cppcheck
- Minor improvements to JSON validation - Cleanup in SDL_Extensions.cpp - Implemented new propery for creature format: idle animation duration - Disabled idle animation of some of conflux creatures (was clearly broken)
This commit is contained in:
@@ -104,7 +104,7 @@ void CMapHandler::prepareFOWDefs()
|
||||
for(auto & elem : missRot)
|
||||
{
|
||||
nw = graphics->FoWpartialHide->ourImages[elem];
|
||||
nw.bitmap = CSDL_Ext::rotate01(nw.bitmap);
|
||||
nw.bitmap = CSDL_Ext::verticalFlip(nw.bitmap);
|
||||
graphics->FoWpartialHide->ourImages.push_back(nw);
|
||||
}
|
||||
//necessaary rotations added
|
||||
|
||||
Reference in New Issue
Block a user