Proper detection whether SCTP is available. Do not update player names on configuration change if network client is running.
This commit is contained in:
+2
-1
@@ -34,7 +34,7 @@
|
||||
using namespace std;
|
||||
|
||||
Session::Session(GuiInterface *g, ConfigFile *c)
|
||||
: currentGameID(0), myNetClient(0), myNetServer(0), myGui(g), myConfig(c), thisHasSctp(0)
|
||||
: currentGameID(0), myNetClient(0), myNetServer(0), myGui(g), myConfig(c)
|
||||
{
|
||||
|
||||
}
|
||||
@@ -210,3 +210,4 @@ bool Session::isNetworkClientRunning() const
|
||||
// TODO
|
||||
return myNetClient != NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user