diff -r 8ef26c8e8aa7 -r 7a20c50988ec QTfrontend/hwform.cpp --- a/QTfrontend/hwform.cpp Wed Dec 19 07:38:36 2007 +0000 +++ b/QTfrontend/hwform.cpp Wed Dec 19 11:10:23 2007 +0000 @@ -38,6 +38,7 @@ #include "game.h" #include "team.h" #include "teamselect.h" +#include "selectWeapon.h" #include "gameuiconfig.h" #include "pages.h" #include "hwconsts.h" @@ -549,7 +550,7 @@ void HWForm::CreateGame(GameCFGWidget * gamecfg, TeamSelWidget* pTeamSelWidget) { - game = new HWGame(config, gamecfg, pTeamSelWidget); + game = new HWGame(config, gamecfg, ui.pageSelectWeapon->pWeapons->getWeaponsString(), pTeamSelWidget); connect(game, SIGNAL(GameStateChanged(GameState)), this, SLOT(GameStateChanged(GameState))); connect(game, SIGNAL(GameStats(char, const QString &)), this, SLOT(GameStats(char, const QString &))); connect(game, SIGNAL(ErrorMessage(const QString &)), this, SLOT(ShowErrorMessage(const QString &)), Qt::QueuedConnection);