mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-13 02:52:37 +00:00
(svn r23668) -Fix: the 'Configure' button in the 'AI / Game Configuration' window didn't get enabled when activating a GameScript
This commit is contained in:
parent
2bbbff64e4
commit
2fb22e8214
@ -172,7 +172,7 @@ struct AIListWindow : public Window {
|
|||||||
for (int i = 0; i < this->selected; i++) it++;
|
for (int i = 0; i < this->selected; i++) it++;
|
||||||
GetConfig(slot)->Change((*it).second->GetName(), (*it).second->GetVersion());
|
GetConfig(slot)->Change((*it).second->GetName(), (*it).second->GetVersion());
|
||||||
}
|
}
|
||||||
SetWindowDirty(WC_GAME_OPTIONS, WN_GAME_OPTIONS_AI);
|
InvalidateWindowData(WC_GAME_OPTIONS, WN_GAME_OPTIONS_AI);
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual void OnClick(Point pt, int widget, int click_count)
|
virtual void OnClick(Point pt, int widget, int click_count)
|
||||||
|
Loading…
Reference in New Issue
Block a user