mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
Added pane rotation profile
This commit is contained in:
parent
788234ab94
commit
81704140a7
5 changed files with 18 additions and 5 deletions
|
|
@ -59,6 +59,8 @@ Block* ContentLoader::loadBlock(string name, path file) {
|
|||
def->rotatable = profile != "none";
|
||||
if (profile == "pipe") {
|
||||
def->rotations = BlockRotProfile::PIPE;
|
||||
} else if (profile == "pane") {
|
||||
def->rotations = BlockRotProfile::PANE;
|
||||
} else if (profile != "none") {
|
||||
cerr << "unknown rotation profile " << profile << endl;
|
||||
def->rotatable = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue