diff options
author | rubidium <rubidium@openttd.org> | 2009-07-16 20:15:28 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-07-16 20:15:28 +0000 |
commit | dea1144bcb52b6c5f2c985395b2775cedcbff5ce (patch) | |
tree | 3cebb6aa3ae76df53289dc9feae68b253ea6a101 /src/waypoint.cpp | |
parent | 1f29e38b8372484d51d852b89fc957eb53635ecb (diff) | |
download | openttd-dea1144bcb52b6c5f2c985395b2775cedcbff5ce.tar.xz |
(svn r16850) -Codechange: unify some naming of variables between waypoints and stations.
Diffstat (limited to 'src/waypoint.cpp')
-rw-r--r-- | src/waypoint.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/waypoint.cpp b/src/waypoint.cpp index 853ddbebd..d970bb14c 100644 --- a/src/waypoint.cpp +++ b/src/waypoint.cpp @@ -38,7 +38,7 @@ void WaypointsDailyLoop() /* Check if we need to delete a waypoint */ FOR_ALL_WAYPOINTS(wp) { - if (wp->deleted != 0 && --wp->deleted == 0) delete wp; + if (wp->delete_ctr != 0 && --wp->delete_ctr == 0) delete wp; } } |