equal
deleted
inserted
replaced
75 qDebug() << "config" << gamecfg->getFullConfig(); |
75 qDebug() << "config" << gamecfg->getFullConfig(); |
76 |
76 |
77 if (m_pTeamSelWidget) |
77 if (m_pTeamSelWidget) |
78 { |
78 { |
79 qDebug() << "adding teams from teamselwidget..."; |
79 qDebug() << "adding teams from teamselwidget..."; |
80 QList<HWTeam> teams = QList<HWTeam>::fromStdList(m_pTeamSelWidget->getPlayingTeams()); |
80 QList<HWTeam> teams = m_pTeamSelWidget->getPlayingTeams(); |
81 for(QList<HWTeam>::iterator it = teams.begin(); it != teams.end(); ++it) |
81 for(QList<HWTeam>::iterator it = teams.begin(); it != teams.end(); ++it) |
82 { |
82 { |
83 qDebug() << "a team..."; |
83 qDebug() << "a team..."; |
84 (*it).numHedgehogs = 4; |
84 //(*it).numHedgehogs = 4; |
85 HWProto::addStringListToBuffer(buf, |
85 HWProto::addStringListToBuffer(buf, |
86 (*it).TeamGameConfig(gamecfg->getInitHealth())); |
86 (*it).TeamGameConfig(gamecfg->getInitHealth())); |
87 } |
87 } |
88 } |
88 } |
89 RawSendIPC(buf); |
89 RawSendIPC(buf); |