diff options
author | rubidium <rubidium@openttd.org> | 2009-07-13 23:15:13 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-07-13 23:15:13 +0000 |
commit | 2b1c43f81f792a1aa28065c1fef4ea9cbad1f5a9 (patch) | |
tree | 9b98a78d444cd0aa174569000255df06d53ae562 /src/waypoint_cmd.cpp | |
parent | 0e1dc88b9bb40c226f7f2e71200401fa42fc1cc3 (diff) | |
download | openttd-2b1c43f81f792a1aa28065c1fef4ea9cbad1f5a9.tar.xz |
(svn r16825) -Codechange: unify dirtying when updating the viewport signs.
Diffstat (limited to 'src/waypoint_cmd.cpp')
-rw-r--r-- | src/waypoint_cmd.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/waypoint_cmd.cpp b/src/waypoint_cmd.cpp index e2ad292ba..ded31903c 100644 --- a/src/waypoint_cmd.cpp +++ b/src/waypoint_cmd.cpp @@ -180,7 +180,6 @@ CommandCost CmdBuildTrainWaypoint(TileIndex tile, DoCommandFlag flags, uint32 p1 } } - wp->sign.MarkDirty(); wp->xy = tile; InvalidateWindowData(WC_WAYPOINT_VIEW, wp->index); } @@ -212,7 +211,6 @@ CommandCost CmdBuildTrainWaypoint(TileIndex tile, DoCommandFlag flags, uint32 p1 if (wp->town_index == INVALID_TOWN) MakeDefaultWaypointName(wp); wp->UpdateVirtCoord(); - wp->sign.MarkDirty(); YapfNotifyTrackLayoutChange(tile, AxisToTrack(axis)); } @@ -320,7 +318,6 @@ CommandCost CmdRenameWaypoint(TileIndex tile, DoCommandFlag flags, uint32 p1, ui } wp->UpdateVirtCoord(); - MarkWholeScreenDirty(); } return CommandCost(); } |