TETRIS: when copySelf, set hidden/disableRotation properly

This commit is contained in:
zvon 2020-09-12 12:57:58 +02:00
parent a2160c3735
commit dc819016a6

View File

@ -213,6 +213,9 @@ public:
block->centerX();
ret->addBlockInPos(block, pieces_rel_position[i]);
}
if(!rotate_allowed)
ret->disableRotation();
ret->setHidden(_hidden);
return ret;
}
void destroy() {