Commit 292f9c30 authored by nanahira's avatar nanahira

update forced new turn

parent 3dd6f420
......@@ -1098,7 +1098,7 @@ int SingleDuel::Analyze(char* msgbuffer, unsigned int len) {
RefreshHand(0);
RefreshHand(1);
#ifdef YGOPRO_SERVER_MODE
turn_player = BufferIO::ReadInt8(pbuf);
turn_player = BufferIO::ReadInt8(pbuf) & 0x1;
#else
pbuf++;
#endif
......
......@@ -1048,7 +1048,7 @@ int TagDuel::Analyze(char* msgbuffer, unsigned int len) {
case MSG_NEW_TURN: {
int r_player = BufferIO::ReadInt8(pbuf);
#ifdef YGOPRO_SERVER_MODE
turn_player = r_player;
turn_player = r_player & 0x1;
#endif
time_limit[0] = host_info.time_limit;
time_limit[1] = host_info.time_limit;
......
Subproject commit bb21491c98b10887636e00c8bbeb6c821fd0708a
Subproject commit d7084301fb70342da470d6f828912bdd454164a2
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