summaryrefslogtreecommitdiffstats
path: root/src/World.cpp
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2018-08-09 09:48:28 +0200
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2018-08-09 09:48:28 +0200
commit80d0953a93d66f191f34d2ea77b5664776bc5536 (patch)
tree0880898b6348d755ccc7fa5452ef44dd613aff48 /src/World.cpp
parentChangeable brightness (diff)
downloadAltCraft-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 '')
-rw-r--r--src/World.cpp2
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)) {