Commit 858ab88e authored by edo9300's avatar edo9300

Fis or relay duel chat

parent 2d276f9b
...@@ -986,9 +986,9 @@ void DuelClient::HandleSTOCPacketLan(char* data, unsigned int len) { ...@@ -986,9 +986,9 @@ void DuelClient::HandleSTOCPacketLan(char* data, unsigned int len) {
player = 10; player = 10;
} else if(mainGame->dInfo.isRelay) { } else if(mainGame->dInfo.isRelay) {
if (mainGame->dInfo.isStarted && !mainGame->dInfo.isFirst) if (mainGame->dInfo.isStarted && !mainGame->dInfo.isFirst)
player ^= 2; player += (player > 2) ? -3 : 3;
player = (player > 1) ? (player % 3) * 2 + 1 : (player % 3) * 2; player = (player > 1) ? (player % 3) * 2 + 1 : (player % 3) * 2;
if (player > 3) if (player > 5)
player = 10; player = 10;
} else { } else {
if(mainGame->dInfo.isStarted) if(mainGame->dInfo.isStarted)
......
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