(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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user