(svn r23173) -Codechange: Rename GetVehicleCapacity() to Engine::DetermineCapacity().

This commit is contained in:
frosch
2011-11-09 16:38:50 +00:00
parent e4011426f2
commit 026317bb44
9 changed files with 74 additions and 73 deletions

View File

@@ -675,7 +675,7 @@ CommandCost CmdBuildShip(TileIndex tile, DoCommandFlag flags, const Engine *e, u
v->InvalidateNewGRFCacheOfChain();
v->cargo_cap = GetVehicleCapacity(v);
v->cargo_cap = e->DetermineCapacity(v);
v->InvalidateNewGRFCacheOfChain();