(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:
@@ -147,13 +147,6 @@ public:
|
||||
|
||||
void AddFacility(StationFacility new_facility_bit, TileIndex facil_xy);
|
||||
|
||||
/**
|
||||
* Mark the sign of a station dirty for repaint.
|
||||
*
|
||||
* @ingroup dirty
|
||||
*/
|
||||
void MarkDirty() const;
|
||||
|
||||
/**
|
||||
* Marks the tiles of the station as dirty.
|
||||
*
|
||||
|
Reference in New Issue
Block a user