From 985fd3ca2cfb5e2ee4c1cc58d24fcff6a70cba09 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sat, 8 Sep 2012 21:08:21 +0000 Subject: Set leaves as a transparent block. Initiated by STR_Warrior, http://forum.mc-server.org/showthread.php?tid=434&pid=4512#pid4512 git-svn-id: http://mc-server.googlecode.com/svn/trunk@852 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/BlockID.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/BlockID.cpp b/source/BlockID.cpp index 81be6df96..78d1b3b69 100644 --- a/source/BlockID.cpp +++ b/source/BlockID.cpp @@ -353,6 +353,7 @@ public: g_BlockTransparent[E_BLOCK_FIRE] = true; g_BlockTransparent[E_BLOCK_GLASS] = true; g_BlockTransparent[E_BLOCK_ICE] = true; + g_BlockTransparent[E_BLOCK_LEAVES] = true; g_BlockTransparent[E_BLOCK_RED_MUSHROOM] = true; g_BlockTransparent[E_BLOCK_RED_ROSE] = true; g_BlockTransparent[E_BLOCK_SIGN_POST] = true; -- cgit v1.2.3