Codechange: Ensure function opening {
is on new line.
This commit is contained in:

committed by
Peter Nelson

parent
1de1af08b9
commit
d4008850e3
@@ -413,7 +413,8 @@ void Station::AddIndustryToDeliver(Industry *ind, TileIndex tile)
|
||||
* Remove nearby industry from station's industries_near list.
|
||||
* @param ind Industry
|
||||
*/
|
||||
void Station::RemoveIndustryToDeliver(Industry *ind) {
|
||||
void Station::RemoveIndustryToDeliver(Industry *ind)
|
||||
{
|
||||
auto pos = std::find_if(this->industries_near.begin(), this->industries_near.end(), [&](const IndustryListEntry &e) { return e.industry->index == ind->index; });
|
||||
if (pos != this->industries_near.end()) {
|
||||
this->industries_near.erase(pos);
|
||||
|
Reference in New Issue
Block a user