From 8275a98e1f2e5adc770dc68492927416ddbb6fe6 Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 8 Jul 2009 08:30:35 +0000 Subject: (svn r16764) -Codechange: unify the way viewport signs are marked dirty --- src/waypoint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/waypoint.cpp') 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() -- cgit v1.2.3-54-g00ecf