mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Unused variable, unused code
This commit is contained in:
@@ -264,7 +264,7 @@ void RandomMapTab::setMapGenOptions(std::shared_ptr<CMapGenOptions> opts)
|
||||
}
|
||||
else // Random
|
||||
{
|
||||
vstd::erase_if(compCountAllowed, [playerLimit, humanOrCpuPlayerCount](int el)
|
||||
vstd::erase_if(compCountAllowed, [playerLimit](int el)
|
||||
{
|
||||
return (playerLimit - 1) < el; // Must leave at least 1 human player
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user