Commit 0f10cb16 authored by edo9300's avatar edo9300

Update startlp

parent be7040a8
...@@ -578,7 +578,6 @@ void DuelClient::HandleSTOCPacketLan(char* data, unsigned int len) { ...@@ -578,7 +578,6 @@ void DuelClient::HandleSTOCPacketLan(char* data, unsigned int len) {
mainGame->dInfo.isStarted = true; mainGame->dInfo.isStarted = true;
mainGame->dInfo.lp[0] = 0; mainGame->dInfo.lp[0] = 0;
mainGame->dInfo.lp[1] = 0; mainGame->dInfo.lp[1] = 0;
mainGame->dInfo.startlp = 8000;
mainGame->dInfo.strLP[0][0] = 0; mainGame->dInfo.strLP[0][0] = 0;
mainGame->dInfo.strLP[1][0] = 0; mainGame->dInfo.strLP[1][0] = 0;
mainGame->dInfo.turn = 0; mainGame->dInfo.turn = 0;
......
...@@ -492,7 +492,6 @@ void SingleDuel::TPResult(DuelPlayer* dp, unsigned char tp) { ...@@ -492,7 +492,6 @@ void SingleDuel::TPResult(DuelPlayer* dp, unsigned char tp) {
last_replay.WriteInt32(pdeck[1].extra[i]->first, false); last_replay.WriteInt32(pdeck[1].extra[i]->first, false);
} }
last_replay.Flush(); last_replay.Flush();
mainGame->dInfo.startlp = host_info.start_lp;
char startbuf[32], *pbuf = startbuf; char startbuf[32], *pbuf = startbuf;
BufferIO::WriteInt8(pbuf, MSG_START); BufferIO::WriteInt8(pbuf, MSG_START);
BufferIO::WriteInt8(pbuf, 0); BufferIO::WriteInt8(pbuf, 0);
......
...@@ -493,7 +493,6 @@ void TagDuel::TPResult(DuelPlayer* dp, unsigned char tp) { ...@@ -493,7 +493,6 @@ void TagDuel::TPResult(DuelPlayer* dp, unsigned char tp) {
last_replay.WriteInt32(pdeck[2].extra[i]->first, false); last_replay.WriteInt32(pdeck[2].extra[i]->first, false);
} }
last_replay.Flush(); last_replay.Flush();
mainGame->dInfo.startlp = host_info.start_lp;
char startbuf[32], *pbuf = startbuf; char startbuf[32], *pbuf = startbuf;
BufferIO::WriteInt8(pbuf, MSG_START); BufferIO::WriteInt8(pbuf, MSG_START);
BufferIO::WriteInt8(pbuf, 0); BufferIO::WriteInt8(pbuf, 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