Minor refactor

This commit is contained in:
MihailRis
2023-11-15 13:38:42 +03:00
parent aa88fcd7f9
commit be980b2aa6
7 changed files with 21 additions and 17 deletions
+3 -3
View File
@@ -15,7 +15,7 @@ void setup_definitions() {
block->skyLightPassing = true;
block->obstacle = false;
block->selectable = false;
block->model = 0;
block->model = BlockModel::none;
Block::blocks[block->id] = block;
block = new Block(BLOCK_DIRT, 2);
@@ -71,7 +71,7 @@ void setup_definitions() {
block->drawGroup = 5;
block->lightPassing = true;
block->obstacle = false;
block->model = 2;
block->model = BlockModel::xsprite;
block->hitboxScale = 0.5f;
Block::blocks[block->id] = block;
@@ -79,7 +79,7 @@ void setup_definitions() {
block->drawGroup = 5;
block->lightPassing = true;
block->obstacle = false;
block->model = 2;
block->model = BlockModel::xsprite;
Block::blocks[block->id] = block;
block = new Block(BLOCK_BRICK, 17);