Commit 0d0a6367 authored by nanahira's avatar nanahira

Merge branch 'server_mc' into server

parents 461b064a a342153c
...@@ -1792,7 +1792,7 @@ void SingleDuel::RequestField(DuelPlayer* dp) { ...@@ -1792,7 +1792,7 @@ void SingleDuel::RequestField(DuelPlayer* dp) {
BufferIO::WriteInt16(pbuf, 0); BufferIO::WriteInt16(pbuf, 0);
BufferIO::WriteInt16(pbuf, 0); BufferIO::WriteInt16(pbuf, 0);
BufferIO::WriteInt16(pbuf, 0); BufferIO::WriteInt16(pbuf, 0);
NetServer::SendBufferToPlayer(dp, STOC_GAME_MSG, startbuf, 18); NetServer::SendBufferToPlayer(dp, STOC_GAME_MSG, startbuf, 19);
int newturn_count = 1; int newturn_count = 1;
if(turn_player == 1) if(turn_player == 1)
......
...@@ -1895,7 +1895,7 @@ void TagDuel::RequestField(DuelPlayer* dp) { ...@@ -1895,7 +1895,7 @@ void TagDuel::RequestField(DuelPlayer* dp) {
BufferIO::WriteInt16(pbuf, 0); BufferIO::WriteInt16(pbuf, 0);
BufferIO::WriteInt16(pbuf, 0); BufferIO::WriteInt16(pbuf, 0);
BufferIO::WriteInt16(pbuf, 0); BufferIO::WriteInt16(pbuf, 0);
NetServer::SendBufferToPlayer(dp, STOC_GAME_MSG, startbuf, 18); NetServer::SendBufferToPlayer(dp, STOC_GAME_MSG, startbuf, 19);
int newturn_count = turn_count % 4; int newturn_count = turn_count % 4;
if(newturn_count == 0) if(newturn_count == 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