mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-29 21:56:54 +02:00
rename
This commit is contained in:
parent
8bb7fd31cd
commit
3d08ecf024
@ -438,7 +438,7 @@ OptionsTab::SelectionWindow::SelectionWindow(PlayerColor _color)
|
||||
allowedFactions = SEL->getPlayerInfo(color.getNum()).allowedFactions;
|
||||
allowedHeroes = SEL->getMapInfo()->mapHeader->allowedHeroes;
|
||||
|
||||
redraw();
|
||||
recreate();
|
||||
|
||||
center();
|
||||
}
|
||||
@ -678,7 +678,7 @@ void OptionsTab::SelectionWindow::clickReleased(const Point & cursorPosition) {
|
||||
if(set.castle == -1)
|
||||
apply();
|
||||
else
|
||||
redraw();
|
||||
recreate();
|
||||
}
|
||||
else if(set.hero != -2)
|
||||
{
|
||||
|
@ -124,7 +124,7 @@ public:
|
||||
void genContentBonus();
|
||||
|
||||
void apply();
|
||||
void redraw();
|
||||
void recreate();
|
||||
void setSelection();
|
||||
FactionID getElementCastle(const Point & cursorPosition);
|
||||
HeroTypeID getElementHero(const Point & cursorPosition);
|
||||
|
Loading…
x
Reference in New Issue
Block a user