summaryrefslogtreecommitdiff
path: root/src/newgrf.cpp
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2008-07-20 21:23:28 +0000
committerpeter1138 <peter1138@openttd.org>2008-07-20 21:23:28 +0000
commitf81b3b7357bf6592a387b71f1d1323e7402da028 (patch)
tree84c167bb88682ca79d2739d81b1d98c85e1f387a /src/newgrf.cpp
parent47ba8389b50a54dec1c08e7af5ba08813857d759 (diff)
downloadopenttd-f81b3b7357bf6592a387b71f1d1323e7402da028.tar.xz
(svn r13761) -Codechange: Remove dependency on rail for altering purchase list position (mostly function renaming)
Diffstat (limited to 'src/newgrf.cpp')
-rw-r--r--src/newgrf.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
index 07298be3e..634fd9a7a 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -584,7 +584,7 @@ static bool RailVehicleChangeInfo(uint engine, int numinfo, int prop, byte **buf
} break;
case 0x1A: // Alter purchase list sort order
- AlterRailVehListOrder(e->index, grf_load_byte(&buf));
+ AlterVehicleListOrder(e->index, grf_load_byte(&buf));
break;
case 0x1B: // Powered wagons power bonus
@@ -6002,7 +6002,7 @@ static void AfterLoadGRFs()
InitGRFTownGeneratorNames();
/* Run all queued vehicle list order changes */
- CommitRailVehListOrderChanges();
+ CommitVehicleListOrderChanges();
/* Load old shore sprites in new position, if they were replaced by ActionA */
ActivateOldShore();