mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-07 00:58:39 +02:00
intermediate connection
This commit is contained in:
@ -11,6 +11,7 @@
|
||||
//
|
||||
#include "StdInc.h"
|
||||
|
||||
#include <enet/enet.h>
|
||||
#include <boost/program_options.hpp>
|
||||
|
||||
#include <vcmi/scripting/Service.h>
|
||||
@ -250,6 +251,11 @@ int main(int argc, char * argv[])
|
||||
*console->cb = processCommand;
|
||||
console->start();
|
||||
#endif
|
||||
|
||||
if(enet_initialize() != 0)
|
||||
{
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
const bfs::path logPath = VCMIDirs::get().userLogsPath() / "VCMI_Client_log.txt";
|
||||
logConfig = new CBasicLogConfigurator(logPath, console);
|
||||
|
Reference in New Issue
Block a user