diff options
author | rubidium <rubidium@openttd.org> | 2009-07-22 08:52:41 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-07-22 08:52:41 +0000 |
commit | 2646a99d29535a44c5998f080131cbca2e85bdcf (patch) | |
tree | f0cc43c544b806d042c7a7989b2634da7c76ca00 /src/saveload | |
parent | 8405d7d7e762546e3e78d1e0c16bb226c36266fa (diff) | |
download | openttd-2646a99d29535a44c5998f080131cbca2e85bdcf.tar.xz |
(svn r16908) -Codechange: s/DepotWaypointReservation/DepotReservation/
Diffstat (limited to 'src/saveload')
-rw-r--r-- | src/saveload/afterload.cpp | 4 |
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); } |