(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:
@@ -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.
|
||||
|
Reference in New Issue
Block a user