1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-27 22:49:25 +02:00

- updated link to repo in readme

- image loader will report last SDL error if loading failed
- fixed parsing of floats from H3 txt's
This commit is contained in:
Ivan Savenko
2013-06-09 10:09:28 +00:00
parent cdefb12d4c
commit 870399c7be
3 changed files with 4 additions and 3 deletions

View File

@@ -151,6 +151,7 @@ SDL_Surface * BitmapHandler::loadBitmapFromDir(std::string path, std::string fna
else
{
logGlobal->errorStream()<<"Failed to open "<<fname<<" via SDL_Image";
logGlobal->errorStream()<<"Reason: " << IMG_GetError();
}
}