QTfrontend/hwform.cpp
changeset 13510 69f0f437c75a
parent 13491 4ef83bcb850b
child 13633 d5e029b84e16
--- a/QTfrontend/hwform.cpp	Tue Jul 17 22:42:49 2018 +0200
+++ b/QTfrontend/hwform.cpp	Wed Jul 18 00:27:23 2018 +0200
@@ -1707,14 +1707,6 @@
 
 void HWForm::StartMPGame()
 {
-    int numHogs = ui.pageMultiplayer->teamsSelect->getNumHedgehogs();
-    /* Don't allow to start game with more than cMaxHHs hedgehogs.
-    TODO: Remove this as soon the engine supports more hedgehogs. */
-    if(numHogs > cMaxHHs)
-    {
-        MessageDialog::ShowErrorMessage(QMessageBox::tr("Sorry, there are too many hedgehogs! Please try again with fewer hedgehogs.\n\nMaximum number of hedgehogs: %1\nCurrent number of hedgehogs: %2").arg(cMaxHHs).arg(numHogs), this);
-        return;
-    }
     QString ammo;
     ammo = ui.pageMultiplayer->gameCFG->WeaponsName->itemData(
                ui.pageMultiplayer->gameCFG->WeaponsName->currentIndex()