mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Fixed creature bonus parser. Fixed several uninitialized variables. Updated data build script to v0.85.
This commit is contained in:
@@ -605,7 +605,7 @@ void CServerHandler::startServer()
|
||||
{
|
||||
th.update();
|
||||
|
||||
serverThread = new boost::thread(&CServerHandler::callServer, this); //runs server executable; //TODO: will it work on non-windows platforms?
|
||||
serverThread = new boost::thread(&CServerHandler::callServer, this); //runs server executable;
|
||||
if(verbose)
|
||||
tlog0 << "Setting up thread calling server: " << th.getDif() << std::endl;
|
||||
}
|
||||
@@ -644,6 +644,7 @@ CServerHandler::CServerHandler(bool runServer /*= false*/)
|
||||
serverThread = NULL;
|
||||
shared = NULL;
|
||||
port = boost::lexical_cast<std::string>(conf.cc.port);
|
||||
verbose = false;
|
||||
|
||||
boost::interprocess::shared_memory_object::remove("vcmi_memory"); //if the application has previously crashed, the memory may not have been removed. to avoid problems - try to destroy it
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user