mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Also allow filtering biomes by faction(s)
This commit is contained in:
@@ -54,12 +54,8 @@ void ObstacleProxy::sortObstacles()
|
||||
|
||||
bool ObstacleProxy::prepareBiome(const ObstacleSetFilter & filter, CRandomGenerator & rand)
|
||||
{
|
||||
// FIXME: All the mountains have same ID and mostly same subID, how to differentiate them?
|
||||
|
||||
possibleObstacles.clear();
|
||||
|
||||
// TODO: Move this logic to ObstacleSetHandler
|
||||
|
||||
std::vector<std::shared_ptr<ObstacleSet>> obstacleSets;
|
||||
|
||||
size_t selectedSets = 0;
|
||||
|
||||
Reference in New Issue
Block a user