one ConfigFile for all

killed the tinyxml warnings
This commit is contained in:
doitux
2007-05-13 12:35:27 +00:00
parent 6fbef0af20
commit 8ad92920cc
13 changed files with 1842 additions and 69 deletions
+2 -3
View File
@@ -29,11 +29,10 @@
using namespace std;
Session::Session(GuiInterface *g)
: currentGameID(0), myNetClient(0), myNetServer(0), currentGame(0), myGui(g)
Session::Session(GuiInterface *g, ConfigFile *c)
: currentGameID(0), myNetClient(0), myNetServer(0), currentGame(0), myGui(g), myConfig(c)
{
myConfig = new ConfigFile;
}