(svn r21518) -Codechange: Rename AccelerationCache to GroundVehicleCache.

This commit is contained in:
terkhen
2010-12-14 21:28:45 +00:00
parent d6959dcc6b
commit 12c86a1391
8 changed files with 52 additions and 52 deletions

View File

@@ -395,7 +395,7 @@ CommandCost CmdStartStopVehicle(TileIndex tile, DoCommandFlag flags, uint32 p1,
switch (v->type) {
case VEH_TRAIN:
if ((v->vehstatus & VS_STOPPED) && Train::From(v)->acc_cache.cached_power == 0) return_cmd_error(STR_ERROR_TRAIN_START_NO_CATENARY);
if ((v->vehstatus & VS_STOPPED) && Train::From(v)->gcache.cached_power == 0) return_cmd_error(STR_ERROR_TRAIN_START_NO_CATENARY);
break;
case VEH_SHIP: