Skip to content

Commit

Permalink
Fixed|World|Map: Missing return value in Map::forAllClusters()
Browse files Browse the repository at this point in the history
  • Loading branch information
danij-deng committed Oct 26, 2014
1 parent e59a67b commit 646900c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doomsday/client/src/world/map.cpp
Expand Up @@ -1624,13 +1624,13 @@ LoopResult Map::forAllClusters(Sector *sector, std::function<LoopResult (SectorC
{
if(auto result = func(**it)) return result;
}
return LoopContinue;
}

for(SectorCluster *cluster : d->clusters)
{
if(auto result = func(*cluster)) return result;
}

return LoopContinue;
}

Expand Down

0 comments on commit 646900c

Please sign in to comment.