summaryrefslogtreecommitdiff
path: root/src/saveload
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-07-22 08:52:41 +0000
committerrubidium <rubidium@openttd.org>2009-07-22 08:52:41 +0000
commit2646a99d29535a44c5998f080131cbca2e85bdcf (patch)
treef0cc43c544b806d042c7a7989b2634da7c76ca00 /src/saveload
parent8405d7d7e762546e3e78d1e0c16bb226c36266fa (diff)
downloadopenttd-2646a99d29535a44c5998f080131cbca2e85bdcf.tar.xz
(svn r16908) -Codechange: s/DepotWaypointReservation/DepotReservation/
Diffstat (limited to 'src/saveload')
-rw-r--r--src/saveload/afterload.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/saveload/afterload.cpp b/src/saveload/afterload.cpp
index 35337866d..452dbb997 100644
--- a/src/saveload/afterload.cpp
+++ b/src/saveload/afterload.cpp
@@ -1668,8 +1668,8 @@ bool AfterLoadGame()
}
/* Clear PBS reservation on track */
- if (IsRailDepot(t) ||IsRailWaypoint(t)) {
- SetDepotWaypointReservation(t, false);
+ if (IsRailDepot(t)) {
+ SetDepotReservation(t, false);
} else {
SetTrackReservation(t, TRACK_BIT_NONE);
}