mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
Minor refactor
This commit is contained in:
parent
aa88fcd7f9
commit
be980b2aa6
7 changed files with 21 additions and 17 deletions
|
|
@ -243,7 +243,7 @@ void PlayerController::updateInteraction(){
|
|||
lighting->onBlockSet(x,y,z, 0);
|
||||
}
|
||||
if (Events::jclicked(mousecode::BUTTON_2)){
|
||||
if (block->model != BLOCK_MODEL_X_SPRITE){
|
||||
if (block->model != BlockModel::xsprite){
|
||||
x = (int)(iend.x)+(int)(norm.x);
|
||||
y = (int)(iend.y)+(int)(norm.y);
|
||||
z = (int)(iend.z)+(int)(norm.z);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue