Changeset - r24594:7e2474b0e0ff
[Not reviewed]
master
0 1 0
SamuXarick - 4 years ago 2021-01-07 21:28:20
43006711+SamuXarick@users.noreply.github.com
Fix 0125892: Warning about unsigned unary minus
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/station_cmd.cpp
Show inline comments
 
@@ -2031,7 +2031,7 @@ static CommandCost RemoveRoadStop(TileIn
 
		/* Update company infrastructure counts. */
 
		FOR_ALL_ROADTRAMTYPES(rtt) {
 
			RoadType rt = GetRoadType(tile, rtt);
 
			UpdateCompanyRoadInfrastructure(rt, GetRoadOwner(tile, rtt), -ROAD_STOP_TRACKBIT_FACTOR);
 
			UpdateCompanyRoadInfrastructure(rt, GetRoadOwner(tile, rtt), -static_cast<int>(ROAD_STOP_TRACKBIT_FACTOR));
 
		}
 

	
 
		Company::Get(st->owner)->infrastructure.station--;
0 comments (0 inline, 0 general)