Commit ad861a32 authored by nanahira's avatar nanahira

Merge branch 'patch-log' of github.com:salix5/ygopro into server-develop

parents 8d66c10d 7707658d
...@@ -941,7 +941,7 @@ uint32 ReplayMode::MessageHandler(intptr_t fduel, uint32 type) { ...@@ -941,7 +941,7 @@ uint32 ReplayMode::MessageHandler(intptr_t fduel, uint32 type) {
if(!enable_log) if(!enable_log)
return 0; return 0;
char msgbuf[1024]; char msgbuf[1024];
get_log_message(fduel, (byte*)msgbuf); get_log_message(fduel, msgbuf);
mainGame->AddDebugMsg(msgbuf); mainGame->AddDebugMsg(msgbuf);
return 0; return 0;
} }
......
...@@ -2187,7 +2187,7 @@ uint32 SingleDuel::MessageHandler(intptr_t fduel, uint32 type) { ...@@ -2187,7 +2187,7 @@ uint32 SingleDuel::MessageHandler(intptr_t fduel, uint32 type) {
if(!enable_log) if(!enable_log)
return 0; return 0;
char msgbuf[1024]; char msgbuf[1024];
get_log_message(fduel, (byte*)msgbuf); get_log_message(fduel, msgbuf);
mainGame->AddDebugMsg(msgbuf); mainGame->AddDebugMsg(msgbuf);
return 0; return 0;
} }
......
...@@ -836,7 +836,7 @@ uint32 SingleMode::MessageHandler(intptr_t fduel, uint32 type) { ...@@ -836,7 +836,7 @@ uint32 SingleMode::MessageHandler(intptr_t fduel, uint32 type) {
if(!enable_log) if(!enable_log)
return 0; return 0;
char msgbuf[1024]; char msgbuf[1024];
get_log_message(fduel, (byte*)msgbuf); get_log_message(fduel, msgbuf);
mainGame->AddDebugMsg(msgbuf); mainGame->AddDebugMsg(msgbuf);
return 0; return 0;
} }
......
...@@ -2349,7 +2349,7 @@ uint32 TagDuel::MessageHandler(intptr_t fduel, uint32 type) { ...@@ -2349,7 +2349,7 @@ uint32 TagDuel::MessageHandler(intptr_t fduel, uint32 type) {
if(!enable_log) if(!enable_log)
return 0; return 0;
char msgbuf[1024]; char msgbuf[1024];
get_log_message(fduel, (byte*)msgbuf); get_log_message(fduel, msgbuf);
mainGame->AddDebugMsg(msgbuf); mainGame->AddDebugMsg(msgbuf);
return 0; return 0;
} }
......
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