QTfrontend/netclient.cpp
changeset 85 44d9045b26ff
parent 84 0f6669da2fcb
child 97 e7c1df9cce2c
--- a/QTfrontend/netclient.cpp	Mon Jul 24 22:37:34 2006 +0000
+++ b/QTfrontend/netclient.cpp	Tue Jul 25 13:32:11 2006 +0000
@@ -35,7 +35,7 @@
 #include "netclient.h"
 #include "game.h"
 
-HWNet::HWNet(GameConfig * config)
+HWNet::HWNet(GameUIConfig * config)
 	: QObject()
 {
 	this->config = config;
@@ -492,7 +492,7 @@
 
 void HWNet::RunGame(const QString & seed)
 {
-	HWGame * game = new HWGame(config);
+	HWGame * game = new HWGame(config, 0);
 	connect(game, SIGNAL(SendNet(const QByteArray &)), this, SLOT(SendNet(const QByteArray &)));
 	connect(this, SIGNAL(FromNet(const QByteArray &)), game, SLOT(FromNet(const QByteArray &)));
 	connect(this, SIGNAL(LocalCFG(const QString &)), game, SLOT(LocalCFG(const QString &)));