diff --git a/src/citymania/cm_game.hpp b/src/citymania/cm_game.hpp index 401e1e9206..5a7f03393d 100644 --- a/src/citymania/cm_game.hpp +++ b/src/citymania/cm_game.hpp @@ -33,7 +33,7 @@ public: auto a = this->towns_growth_tiles.find(tile); auto b = this->towns_growth_tiles_last_month.find(tile); auto as = (a == this->towns_growth_tiles.end() ? TownGrowthTileState::NONE : (*a).second); - auto bs = (b == this->towns_growth_tiles.end() ? TownGrowthTileState::NONE : (*b).second); + auto bs = (b == this->towns_growth_tiles_last_month.end() ? TownGrowthTileState::NONE : (*b).second); return std::max(as, bs); } };