summaryrefslogtreecommitdiff
path: root/src/waypoint.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-07-08 08:30:35 +0000
committerrubidium <rubidium@openttd.org>2009-07-08 08:30:35 +0000
commit8275a98e1f2e5adc770dc68492927416ddbb6fe6 (patch)
treecc2a2bbfd9544a2488bd50e8c798b1234ebb5c80 /src/waypoint.cpp
parent2d907d902ac830d3020fe21cea9299073577d7f3 (diff)
downloadopenttd-8275a98e1f2e5adc770dc68492927416ddbb6fe6.tar.xz
(svn r16764) -Codechange: unify the way viewport signs are marked dirty
Diffstat (limited to 'src/waypoint.cpp')
-rw-r--r--src/waypoint.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/waypoint.cpp b/src/waypoint.cpp
index 96a9e5025..f1ba662a0 100644
--- a/src/waypoint.cpp
+++ b/src/waypoint.cpp
@@ -88,7 +88,7 @@ Waypoint::~Waypoint()
DeleteWindowById(WC_WAYPOINT_VIEW, this->index);
RemoveOrderFromAllVehicles(OT_GOTO_WAYPOINT, this->index);
- RedrawWaypointSign(this);
+ this->sign.MarkDirty();
}
void InitializeWaypoints()