--- a/QTfrontend/newnetclient.cpp Tue Nov 04 22:42:08 2008 +0000
+++ b/QTfrontend/newnetclient.cpp Tue Nov 04 22:49:13 2008 +0000
@@ -69,6 +69,7 @@
RawSendNet(QString("CREATE%1%2").arg(delimeter).arg(room));
m_pGameCFGWidget->setEnabled(true);
+ m_pTeamSelWidget->setInteractivity(true);
isChief = true;
}
@@ -84,7 +85,7 @@
RawSendNet(QString("JOIN%1%2").arg(delimeter).arg(room));
m_pGameCFGWidget->setEnabled(false);
- m_pTeamSelWidget->setNonInteractive();
+ m_pTeamSelWidget->setInteractivity(false);
isChief = false;
}
@@ -453,6 +454,7 @@
onInitHealthChanged(m_pGameCFGWidget->getInitHealth());
onTurnTimeChanged(m_pGameCFGWidget->getTurnTime());
onFortsModeChanged(m_pGameCFGWidget->getGameFlags() & 0x1);
+ onTeamsDivideChanged(m_pGameCFGWidget->getGameFlags() & 0x10);
// always initialize with default ammo (also avoiding complicated cross-class dependencies)
onWeaponsNameChanged("Default", cDefaultAmmoStore->mid(10));
}