Commit 2be5b3ff authored by nanahira's avatar nanahira

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

parents 4c70d159 7707658d
...@@ -940,7 +940,7 @@ uint32 ReplayMode::MessageHandler(intptr_t fduel, uint32 type) { ...@@ -940,7 +940,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;
} }
......
...@@ -1587,7 +1587,7 @@ uint32 SingleDuel::MessageHandler(intptr_t fduel, uint32 type) { ...@@ -1587,7 +1587,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;
} }
......
...@@ -1734,7 +1734,7 @@ uint32 TagDuel::MessageHandler(intptr_t fduel, uint32 type) { ...@@ -1734,7 +1734,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