Merge branch 'master' into jgrpp
# Conflicts: # src/network/network_server.h # src/pathfinder/yapf/yapf_road.cpp # src/viewport.cpp
This commit is contained in:
@@ -4081,7 +4081,7 @@ void StationMonthlyLoop()
|
||||
void ModifyStationRatingAround(TileIndex tile, Owner owner, int amount, uint radius)
|
||||
{
|
||||
ForAllStationsRadius(tile, radius, [&](Station *st) {
|
||||
if (st->owner == owner) {
|
||||
if (st->owner == owner && DistanceManhattan(tile, st->xy) <= radius) {
|
||||
for (CargoID i = 0; i < NUM_CARGO; i++) {
|
||||
GoodsEntry *ge = &st->goods[i];
|
||||
|
||||
|
Reference in New Issue
Block a user