File diff r10652:af72ab0998c3 → r10653:4d61fce5cba8
src/station_cmd.cpp
Show inline comments
 
@@ -1099,7 +1099,11 @@ CommandCost CmdBuildRailroadStation(Tile
 
					}
 
				}
 

	
 
				byte old_specindex = IsTileType(tile, MP_STATION) ? GetCustomStationSpecIndex(tile) : 0;
 
				MakeRailStation(tile, st->owner, st->index, axis, layout & ~1, (RailType)GB(p1, 0, 4));
 
				/* Free the spec if we overbuild something */
 
				DeallocateSpecFromStation(st, old_specindex);
 

	
 
				SetCustomStationSpecIndex(tile, specindex);
 
				SetStationTileRandomBits(tile, GB(Random(), 0, 4));
 
				SetStationAnimationFrame(tile, 0);