(svn r16678) -Codechange: Turn CargoArray into a class, so one does not have to deal with sizeof() wrt. typedef-ed arrays.
This commit is contained in:
@@ -291,7 +291,7 @@ static CommandCost ClearTile_Unmovable(TileIndex tile, DoCommandFlag flags)
|
||||
return CommandCost();
|
||||
}
|
||||
|
||||
static void AddAcceptedCargo_Unmovable(TileIndex tile, CargoArray acceptance)
|
||||
static void AddAcceptedCargo_Unmovable(TileIndex tile, CargoArray &acceptance)
|
||||
{
|
||||
if (!IsCompanyHQ(tile)) return;
|
||||
|
||||
|
Reference in New Issue
Block a user