This commit is contained in:
Pepe20129 2025-05-26 20:20:08 +02:00
commit c81de3a32b
2 changed files with 5 additions and 4 deletions

View file

@ -359,8 +359,9 @@ Region::Region(std::string regionName_, SceneID scene_, bool timePass_, std::set
}
Region::Region(std::string regionName_, SceneID scene_, std::vector<EventAccess> events_,
std::vector<LocationAccess> locations_, std::list<Rando::Entrance> exits_)
: regionName(std::move(regionName_)), scene(scene_), timePass(GetTimePassFromScene(scene_)), areas(CalculateAreas(scene_)), events(std::move(events_)),
locations(std::move(locations_)), exits(std::move(exits_)) {
: regionName(std::move(regionName_)), scene(scene_), timePass(GetTimePassFromScene(scene_)),
areas(CalculateAreas(scene_)), events(std::move(events_)), locations(std::move(locations_)),
exits(std::move(exits_)) {
}
Region::~Region() = default;

View file

@ -116,8 +116,8 @@ enum class EntranceType;
class Region {
public:
Region();
Region(std::string regionName_, SceneID scene_, bool timePass, std::set<RandomizerArea> areas, std::vector<EventAccess> events_,
std::vector<LocationAccess> locations_, std::list<Rando::Entrance> exits_);
Region(std::string regionName_, SceneID scene_, bool timePass, std::set<RandomizerArea> areas,
std::vector<EventAccess> events_, std::vector<LocationAccess> locations_, std::list<Rando::Entrance> exits_);
Region(std::string regionName_, SceneID scene_, std::vector<EventAccess> events_,
std::vector<LocationAccess> locations_, std::list<Rando::Entrance> exits_);
~Region();