audio fixes

This commit is contained in:
MihailRis
2024-03-09 12:15:11 +03:00
parent 3ee350fc0c
commit 8ac51752d3
12 changed files with 49 additions and 7 deletions
+1 -1
View File
@@ -382,7 +382,7 @@ void PlayerController::updateInteraction(){
Block* target = indices->getBlockDef(vox->id);
if (lclick && target->breakable){
onBlockInteraction(
glm::ivec3(x, y, z), def,
glm::ivec3(x, y, z), target,
BlockInteraction::destruction
);
blocksController->breakBlock(player.get(), target, x, y, z);