Commit b4f33164 authored by nanahira's avatar nanahira

Merge branch 'develop' into server-develop

parents 395b0048 6a5734b1
......@@ -1802,7 +1802,7 @@ int SingleDuel::Analyze(unsigned char* msgbuffer, unsigned int len) {
return 0;
}
void SingleDuel::GetResponse(DuelPlayer* dp, unsigned char* pdata, unsigned int len) {
byte resb[SIZE_RETURN_VALUE];
byte resb[SIZE_RETURN_VALUE]{};
if (len > SIZE_RETURN_VALUE)
len = SIZE_RETURN_VALUE;
std::memcpy(resb, pdata, len);
......
......@@ -1912,7 +1912,7 @@ int TagDuel::Analyze(unsigned char* msgbuffer, unsigned int len) {
return 0;
}
void TagDuel::GetResponse(DuelPlayer* dp, unsigned char* pdata, unsigned int len) {
byte resb[SIZE_RETURN_VALUE];
byte resb[SIZE_RETURN_VALUE]{};
if (len > SIZE_RETURN_VALUE)
len = SIZE_RETURN_VALUE;
std::memcpy(resb, pdata, len);
......
This diff is collapsed.
Subproject commit 94f4763d462dd015807968ba8b413d7b987d73be
Subproject commit 1d70270993bcb69d9062af51d6d83fc9791be22f
Subproject commit 3290037433ca3f0a31586ea25090608b4379e302
Subproject commit 1d2d1103800b77b7e17ccfcd207ce6fb7321ddf3
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