diff --git a/src/industry_map.h b/src/industry_map.h index ee45ade7c9..b9962e45b0 100644 --- a/src/industry_map.h +++ b/src/industry_map.h @@ -88,7 +88,7 @@ IndustryType GetIndustryType(Tile tile); inline void SetIndustryCompleted(Tile tile) { assert(IsTileType(tile, MP_INDUSTRY)); - SB(tile.m1(), 7, 1, 1); + SetBit(tile.m1(), 7); } /** diff --git a/src/saveload/station_sl.cpp b/src/saveload/station_sl.cpp index afcf000ab7..f1c288af56 100644 --- a/src/saveload/station_sl.cpp +++ b/src/saveload/station_sl.cpp @@ -414,7 +414,7 @@ public: /* Don't construct the packet with station here, because that'll fail with old savegames */ CargoPacket *cp = new CargoPacket(GB(_waiting_acceptance, 0, 12), _cargo_periods, source, _cargo_source_xy, _cargo_feeder_share); ge.cargo.Append(cp, INVALID_STATION); - SB(ge.status, GoodsEntry::GES_RATING, 1, 1); + SetBit(ge.status, GoodsEntry::GES_RATING); } } }