1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00

Avoid crash on invalid H3 data

This commit is contained in:
Ivan Savenko
2024-01-20 18:50:59 +02:00
parent 8e8d42bfa2
commit 9920783628

View File

@@ -205,6 +205,8 @@ void SDLImage::exportBitmap(const boost::filesystem::path& path) const
void SDLImage::playerColored(PlayerColor player)
{
if (!surf)
return;
graphics->blueToPlayersAdv(surf, player);
}