diff options
author | peter1138 <peter1138@openttd.org> | 2008-07-20 21:23:28 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2008-07-20 21:23:28 +0000 |
commit | e6a1f1c0127e4a0b93935fa2fcb178eb88b2be7a (patch) | |
tree | 84c167bb88682ca79d2739d81b1d98c85e1f387a /src/newgrf.cpp | |
parent | 00e052ad39b6ce80809da279a1c7f4b66615a4ca (diff) | |
download | openttd-e6a1f1c0127e4a0b93935fa2fcb178eb88b2be7a.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.cpp | 4 |
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(); |