mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-05 00:49:09 +02:00
- fixed several gcc warnings - some work on JSON (const char* as input, no crash on missing value)
This commit is contained in:
@ -59,17 +59,10 @@ void CButtonBase::update()
|
||||
}
|
||||
|
||||
if (!keepFrame)
|
||||
{
|
||||
image->setFrame(newPos);
|
||||
}
|
||||
|
||||
|
||||
if (active)
|
||||
{
|
||||
if (parent)
|
||||
parent->redraw();
|
||||
else
|
||||
redraw();
|
||||
}
|
||||
redraw();
|
||||
}
|
||||
|
||||
void CButtonBase::addTextOverlay( const std::string &Text, EFonts font, SDL_Color color)
|
||||
|
Reference in New Issue
Block a user