mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-15 01:24:45 +02:00
- fixed crash on opening spellbook during enemy turn
- fixed last known localization issue (bank configs) - diplomacy and new weeks\month mechanics should be identical to H3 - minor fixes
This commit is contained in:
@ -487,7 +487,6 @@ CInfoWindow::CInfoWindow(std::string Text, int player, const TCompsInfo &comps,
|
||||
text->pos.w = text->maxW;
|
||||
text->pos.h = text->maxH;
|
||||
}
|
||||
text->redrawParentOnScrolling = true;
|
||||
|
||||
if(buttons.size())
|
||||
{
|
||||
@ -914,7 +913,6 @@ CSelWindow::CSelWindow(const std::string &Text, int player, int charperline, con
|
||||
}
|
||||
|
||||
text = new CTextBox(Text, Rect(0, 0, 250, 100), 0, FONT_MEDIUM, CENTER, Colors::Cornsilk);
|
||||
text->redrawParentOnScrolling = true;
|
||||
|
||||
buttons.front()->assignedKeys.insert(SDLK_RETURN); //first button - reacts on enter
|
||||
buttons.back()->assignedKeys.insert(SDLK_ESCAPE); //last button - reacts on escape
|
||||
@ -3595,7 +3593,7 @@ void CSystemOptionsWindow::setHeroMoveSpeed( int newSpeed )
|
||||
|
||||
void CSystemOptionsWindow::setMapScrollingSpeed( int newSpeed )
|
||||
{
|
||||
Settings speed = settings.write["adventure"]["mapScrollingSpeed"];
|
||||
Settings speed = settings.write["adventure"]["scrollSpeed"];
|
||||
speed->Float() = newSpeed;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user