- 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:
Ivan Savenko committed 2013-11-06 13:42:58 +00:00
1 parent 86b7feeab3
commit 71d6b0fea9
24 files changed
+159 -183

No files matched your search

+1 -1
View File
@@ -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