Commit 84597221 authored by salix5's avatar salix5

extra_p_count

parent aa032c7f
......@@ -186,7 +186,7 @@ void ClientField::AddCard(ClientCard* pcard, int controler, int location, int se
case LOCATION_EXTRA: {
extra[controler].push_back(pcard);
pcard->sequence = extra[controler].size() - 1;
if (/*(pcard->type & TYPE_PENDULUM) &&*/ (pcard->position & POS_FACEUP))
if (pcard->position & POS_FACEUP)
extra_p_count[controler]++;
break;
}
......@@ -256,7 +256,7 @@ ClientCard* ClientField::RemoveCard(int controler, int location, int sequence) {
extra[controler][i]->mTransform.setTranslation(extra[controler][i]->curPos);
}
extra[controler].erase(extra[controler].end() - 1);
if ((pcard->type & TYPE_PENDULUM) && (pcard->position & POS_FACEUP))
if (pcard->position & POS_FACEUP)
extra_p_count[controler]--;
break;
}
......
Subproject commit 70b98b61c58977e62065f378cb0d5dfedca26e44
Subproject commit ca04a9a0bb85b5ccd39c9fe40631e6c13ffdb36b
Subproject commit fcfc0c01eeccdc59eea10099dd146cc2916c3f02
Subproject commit 4eab11dc0417759238aee87b8b390c1a8ae838f1
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