Changeset - r19749:d7370b4000cd
[Not reviewed]
master
0 1 0
frosch - 12 years ago 2012-11-12 18:10:02
frosch@openttd.org
(svn r24704) -Cleanup: No need to initialise stuff twice.
1 file changed with 0 insertions and 8 deletions:
0 comments (0 inline, 0 general)
src/station_cmd.cpp
Show inline comments
 
@@ -3529,14 +3529,6 @@ void BuildOilRig(TileIndex tile)
 

	
 
	st->rect.BeforeAddTile(tile, StationRect::ADD_FORCE);
 

	
 
	for (CargoID j = 0; j < NUM_CARGO; j++) {
 
		st->goods[j].acceptance_pickup = 0;
 
		st->goods[j].days_since_pickup = 255;
 
		st->goods[j].rating = INITIAL_STATION_RATING;
 
		st->goods[j].last_speed = 0;
 
		st->goods[j].last_age = 255;
 
	}
 

	
 
	st->UpdateVirtCoord();
 
	UpdateStationAcceptance(st, false);
 
	st->RecomputeIndustriesNear();
0 comments (0 inline, 0 general)