diff options
author | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2018-08-09 09:48:28 +0200 |
---|---|---|
committer | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2018-08-09 09:48:28 +0200 |
commit | 80d0953a93d66f191f34d2ea77b5664776bc5536 (patch) | |
tree | 0880898b6348d755ccc7fa5452ef44dd613aff48 /src/World.cpp | |
parent | Changeable brightness (diff) | |
download | AltCraft-80d0953a93d66f191f34d2ea77b5664776bc5536.tar AltCraft-80d0953a93d66f191f34d2ea77b5664776bc5536.tar.gz AltCraft-80d0953a93d66f191f34d2ea77b5664776bc5536.tar.bz2 AltCraft-80d0953a93d66f191f34d2ea77b5664776bc5536.tar.lz AltCraft-80d0953a93d66f191f34d2ea77b5664776bc5536.tar.xz AltCraft-80d0953a93d66f191f34d2ea77b5664776bc5536.tar.zst AltCraft-80d0953a93d66f191f34d2ea77b5664776bc5536.zip |
Diffstat (limited to 'src/World.cpp')
-rw-r--r-- | src/World.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/World.cpp b/src/World.cpp index 251890b..9c66bc3 100644 --- a/src/World.cpp +++ b/src/World.cpp @@ -187,7 +187,7 @@ void World::UpdatePhysics(float delta) { for (int z = blockZBegin; z <= blockZEnd; z++) { for (int x = blockXBegin; x <= blockXEnd; x++) { BlockId block = this->GetBlockId(Vector(x, y, z)); - if (block.id == 0 || block.id == 31 || block.id == 37 || block.id == 38 || block.id == 175) + if (block.id == 0 || block.id == 31 || block.id == 37 || block.id == 38 || block.id == 175 || block.id == 78) continue; AABB blockColl{ x,y,z,1.0,1.0,1.0 }; if (TestCollision(entityCollBox, blockColl)) { |