(svn r21973) -Fix: Redraw the town authority window after modifying town authority settings.

This commit is contained in:
terkhen
2011-02-05 13:42:57 +00:00
parent b371711d78
commit a788783e01
2 changed files with 14 additions and 2 deletions

View File

@@ -921,6 +921,17 @@ static bool InvalidateIndustryViewWindow(int32 p1)
return true;
}
/**
* Update the town authority window after a town authority setting change.
* @param p1 Unused.
* @return Always true.
*/
static bool RedrawTownAuthority(int32 p1)
{
SetWindowClassesDirty(WC_TOWN_AUTHORITY);
return true;
}
/*
* A: competitors
* B: competitor start time. Deprecated since savegame version 110.