Commit 34253cef authored by mercury233's avatar mercury233

fix MSG_ROCK_PAPER_SCISSORS

parent bf6356b8
...@@ -1359,7 +1359,7 @@ int TagDuel::Analyze(char* msgbuffer, unsigned int len) { ...@@ -1359,7 +1359,7 @@ int TagDuel::Analyze(char* msgbuffer, unsigned int len) {
case MSG_ROCK_PAPER_SCISSORS: { case MSG_ROCK_PAPER_SCISSORS: {
player = BufferIO::ReadInt8(pbuf); player = BufferIO::ReadInt8(pbuf);
WaitforResponse(player); WaitforResponse(player);
NetServer::SendBufferToPlayer(players[player], STOC_GAME_MSG, offset, pbuf - offset); NetServer::SendBufferToPlayer(cur_player[player], STOC_GAME_MSG, offset, pbuf - offset);
return 1; return 1;
} }
case MSG_HAND_RES: { case MSG_HAND_RES: {
......
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