(svn r15073) -Fix (r15067) [FS#2532]: Default copy constructors don't necessarily do what you want. Instead of creating one, we now pass a pointer around as that avoids additional allocations.

This commit is contained in:
peter1138
2009-01-13 20:43:53 +00:00
parent f70b4c5ae4
commit 4585d9785d
4 changed files with 10 additions and 10 deletions

View File

@@ -18,7 +18,7 @@
void ModifyStationRatingAround(TileIndex tile, Owner owner, int amount, uint radius);
typedef SmallVector<Station*, 1> StationList;
StationList FindStationsAroundTiles(TileIndex tile, int w_prod, int h_prod);
void FindStationsAroundTiles(TileIndex tile, int w_prod, int h_prod, StationList *stations);
void ShowStationViewWindow(StationID station);
void UpdateAllStationVirtCoord();