(svn r16766) -Codechange: remove station->MarkDirty. It is in all cases meant to only update the sign and not invalidate the widget; the widget would be invalidated by a call before/after the call to MarkDirty or it wouldn't make sense because e.g. the window doesn't exist anymore/yet.

This commit is contained in:
rubidium
2009-07-08 12:01:26 +00:00
parent 770ad0c022
commit e4ef68405c
3 changed files with 3 additions and 18 deletions

View File

@@ -403,9 +403,9 @@ void UpdateAllStationVirtCoord()
*/
static void UpdateStationVirtCoordDirty(Station *st)
{
st->MarkDirty();
st->sign.MarkDirty();
st->UpdateVirtCoord();
st->MarkDirty();
st->sign.MarkDirty();
}
/** Get a mask of the cargo types that the station accepts.