QTfrontend/newnetclient.cpp
changeset 444 e3aaa862a28e
parent 443 eec37eb7f5db
child 448 e968e19a464c
--- a/QTfrontend/newnetclient.cpp	Wed Feb 14 22:15:55 2007 +0000
+++ b/QTfrontend/newnetclient.cpp	Wed Feb 14 22:51:07 2007 +0000
@@ -197,7 +197,7 @@
     emit themeChanged(lst[2]);
     emit initHealthChanged(lst[3].toUInt());
     emit turnTimeChanged(lst[4].toUInt());
-    //emit fortsModeChanged(lst[5].toInt() != 0); // FIXME: add a getFortsMode in ConfigAsked
+    emit fortsModeChanged(lst[5].toInt() != 0);
     return;
   }
 
@@ -278,6 +278,7 @@
   onThemeChanged(m_pGameCFGWidget->getCurrentTheme());
   onInitHealthChanged(m_pGameCFGWidget->getInitHealth());
   onTurnTimeChanged(m_pGameCFGWidget->getTurnTime());
+  onFortsModeChanged(m_pGameCFGWidget->getGameFlags() & 0x1);
 }
 
 void HWNewNet::RunGame()