Commit f1ede50f authored by nanahira's avatar nanahira

Merge branch 'master' into server

parents d7dbd3f5 95b8cf6b
......@@ -1011,7 +1011,7 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) {
}
switch(mainGame->dInfo.curMsg) {
case MSG_RESET_TIME: {
pbuf += 2;
pbuf += 3;
break;
}
case MSG_RETRY: {
......
......@@ -749,7 +749,7 @@ int SingleDuel::Analyze(char* msgbuffer, unsigned int len) {
switch (engType) {
case MSG_RESET_TIME: {
player = BufferIO::ReadInt8(pbuf);
int time = BufferIO::ReadInt8(pbuf);
short time = BufferIO::ReadInt16(pbuf);
if(host_info.time_limit) {
if(time)
time_limit[player] = time;
......
......@@ -182,7 +182,7 @@ bool SingleMode::SinglePlayAnalyze(char* msg, unsigned int len) {
mainGame->dInfo.curMsg = BufferIO::ReadUInt8(pbuf);
switch (mainGame->dInfo.curMsg) {
case MSG_RESET_TIME: {
pbuf += 2;
pbuf += 3;
break;
}
case MSG_RETRY: {
......
......@@ -705,7 +705,7 @@ int TagDuel::Analyze(char* msgbuffer, unsigned int len) {
switch (engType) {
case MSG_RESET_TIME: {
player = BufferIO::ReadInt8(pbuf);
int time = BufferIO::ReadInt8(pbuf);
short time = BufferIO::ReadInt16(pbuf);
if(host_info.time_limit) {
if(time)
time_limit[player] = time;
......
Subproject commit b43c3762795b73c51c3bcb684fe789fc7bb07b17
Subproject commit 1eedc8d1b7e4b36f7a78431351238b330b723aad
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