TETRIS: when copySelf, set hidden/disableRotation properly
This commit is contained in:
parent
a2160c3735
commit
dc819016a6
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user