Commit ced44b58 authored by mercury233's avatar mercury233

add highlight for confirm hand

parent c4222113
......@@ -1613,6 +1613,7 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) {
l = pcard->location;
if (l == LOCATION_HAND) {
mainGame->dField.MoveCard(pcard, 5);
pcard->is_highlighting = true;
} else if (l == LOCATION_MZONE) {
if (pcard->position & POS_FACEUP)
continue;
......@@ -1632,9 +1633,14 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) {
pcard->aniFrame = 5;
}
}
mainGame->WaitFrameSignal(90);
if (mainGame->dInfo.isReplay)
mainGame->WaitFrameSignal(30);
else
mainGame->WaitFrameSignal(90);
for(size_t i = 0; i < field_confirm.size(); ++i) {
mainGame->dField.MoveCard(field_confirm[i], 5);
pcard = field_confirm[i];
mainGame->dField.MoveCard(pcard, 5);
pcard->is_highlighting = false;
}
mainGame->WaitFrameSignal(5);
}
......
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