mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-01 00:45:26 +02:00
Fixed RETURN_IF_BATTLE(). Undid disabled warnings. Fixed indentation.
This commit is contained in:
@ -137,9 +137,9 @@ SDL_Surface * BitmapHandler::loadBitmapFromDir(std::string path, std::string fna
|
||||
else
|
||||
{ //loading via SDL_Image
|
||||
ret = IMG_Load_RW(
|
||||
//create SDL_RW with our data (will be deleted by SDL)
|
||||
SDL_RWFromConstMem((void*)readFile.first.get(), (int)readFile.second),
|
||||
1); // mark it for auto-deleting
|
||||
//create SDL_RW with our data (will be deleted by SDL)
|
||||
SDL_RWFromConstMem((void*)readFile.first.get(), (int)readFile.second),
|
||||
1); // mark it for auto-deleting
|
||||
if (ret)
|
||||
{
|
||||
if (ret->format->palette)
|
||||
|
Reference in New Issue
Block a user