Commit b12d1cb3 authored by mercury233's avatar mercury233

fix

parent 45556faa
...@@ -4,9 +4,7 @@ ...@@ -4,9 +4,7 @@
#include <event2/thread.h> #include <event2/thread.h>
int enable_log = 0; int enable_log = 0;
#ifdef YGOPRO_SERVER_MODE #ifndef YGOPRO_SERVER_MODE
enable_log = 1;
#else
bool exit_on_return = false; bool exit_on_return = false;
bool open_file = false; bool open_file = false;
wchar_t open_file_name[256] = L""; wchar_t open_file_name[256] = L"";
...@@ -60,6 +58,7 @@ int main(int argc, char* argv[]) { ...@@ -60,6 +58,7 @@ int main(int argc, char* argv[]) {
#endif //_WIN32 #endif //_WIN32
ygo::Game _game; ygo::Game _game;
#ifdef YGOPRO_SERVER_MODE #ifdef YGOPRO_SERVER_MODE
enable_log = 1;
ygo::aServerPort=7911; ygo::aServerPort=7911;
ygo::aServerPort=atoi(argv[1]); ygo::aServerPort=atoi(argv[1]);
ygo::lflist=atoi(argv[2]); ygo::lflist=atoi(argv[2]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment