(svn r13761) -Codechange: Remove dependency on rail for altering purchase list position (mostly function renaming)

This commit is contained in:
peter1138
2008-07-20 21:23:28 +00:00
parent 00e052ad39
commit e6a1f1c012
3 changed files with 7 additions and 7 deletions

View File

@@ -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();