QTfrontend/game.cpp
changeset 14599 b86e6e4f3c58
parent 14477 4b678aad50e9
child 14601 1d3f8cf48831
equal deleted inserted replaced
14598:62dea281e4d5 14599:b86e6e4f3c58
    51 TeamSelWidget * lastGameTeamSel = NULL;
    51 TeamSelWidget * lastGameTeamSel = NULL;
    52 
    52 
    53 QString trainingName, trainingScript, trainingTeam, campaign, campaignScript, campaignTeam; // TODO: Cleaner solution?
    53 QString trainingName, trainingScript, trainingTeam, campaign, campaignScript, campaignTeam; // TODO: Cleaner solution?
    54 
    54 
    55 HWGame::HWGame(GameUIConfig * config, GameCFGWidget * gamecfg, QString ammo, TeamSelWidget* pTeamSelWidget) :
    55 HWGame::HWGame(GameUIConfig * config, GameCFGWidget * gamecfg, QString ammo, TeamSelWidget* pTeamSelWidget) :
    56     TCPBase(true, 0),
    56     TCPBase(true, !config->language().isEmpty(), 0),
    57     ammostr(ammo),
    57     ammostr(ammo),
    58     m_pTeamSelWidget(pTeamSelWidget)
    58     m_pTeamSelWidget(pTeamSelWidget)
    59 {
    59 {
    60     this->config = config;
    60     this->config = config;
    61     this->gamecfg = gamecfg;
    61     this->gamecfg = gamecfg;