Commit c9078568 authored by fallenstardust's avatar fallenstardust

fix

parent 824f39ef
......@@ -1215,6 +1215,7 @@ int DuelClient::ClientAnalyze(unsigned char* msg, unsigned int len) {
mainGame->showcard = 0;
mainGame->gMutex.lock();
mainGame->dField.Clear();
mainGame->dInfo.isInDuel = true;
int playertype = BufferIO::ReadUInt8(pbuf);
mainGame->dInfo.isFirst = (playertype & 0xf) ? false : true;
if(playertype & 0xf0)
......
......@@ -6,11 +6,11 @@ import java.util.List;
import ocgcore.enums.LimitType;
/**
* 用于存储禁止卡、限制卡、准限制卡
* 本类功能包括:
* 1设置禁止卡、限制卡、准限制卡
* 2读取禁止卡、限制卡、准限制卡
* 3判断某张卡是否属于禁止卡、限制卡、准限制卡
* 用于存储禁止卡、限制卡、准限制卡
* 本类功能包括:
* 1设置禁止卡、限制卡、准限制卡
* 2读取禁止卡、限制卡、准限制卡
* 3判断某张卡是否属于禁止卡、限制卡、准限制卡
*/
public class LimitList {
private String name = "?";
......@@ -117,7 +117,7 @@ public class LimitList {
}
/**
* 判断入参code或alias对应的卡片是否属于限制类型x,x由type确定
* 判断入参code或alias对应的卡片是否属于限制类型x,x由type确定
* @param code
* @param alias
* @param type
......
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