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

Show message box when H3 data is missing

This commit is contained in:
Ivan Savenko
2023-08-06 18:12:36 +03:00
parent 6ddac8376d
commit 0b99fc0ccb
4 changed files with 15 additions and 17 deletions

View File

@@ -88,7 +88,7 @@ SDL_Surface * CSDL_Ext::newSurface(int w, int h, SDL_Surface * mod) //creates ne
std::string messagePattern = "Failed to create SDL Surface of size %d x %d, %d bpp. Reason: %s";
std::string message = boost::str(boost::format(messagePattern) % w % h % mod->format->BitsPerPixel % error);
handleFatalError(message);
handleFatalError(message, true);
}
if (mod->format->palette)