Commit 48555497 authored by nanahira's avatar nanahira

stdout only

parent eea13df9
......@@ -1617,11 +1617,7 @@ void Game::AddDebugMsg(char* msg)
{
#ifdef YGOPRO_SERVER_MODE
#ifdef YGOPRO_TEST_REDTEXT
FILE* fp = fopen("./redtext.txt", "at");
if (!fp)
return;
fprintf(fp, "%s\n", msg);
fclose(fp);
fprintf(stdout, "%s\n", msg);
#else
fprintf(stderr, "%s\n", msg);
#endif //YGOPRO_TEST_REDTEXT
......
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