New years update

This commit is contained in:
VerstreuteSeele
2022-12-31 21:45:39 +01:00
parent e76ce1b40b
commit de1c5f46ea
21 changed files with 98 additions and 477 deletions

View File

@@ -255,6 +255,8 @@ bool place_on_top(Card* where, Card what) {
int8_t b_letter = (int8_t)what.character;
if(a_letter == 12) a_letter = -1;
if(b_letter == 12) b_letter = -1;
if(where->disabled && b_letter!=-1)
return false;
if((a_letter + 1) == b_letter) {
where->disabled = what.disabled;
where->pip = what.pip;