From 46c7f75cabc13bdfcbd696605b4f7e254f98a496 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sun, 25 Nov 2012 20:31:07 +0000 Subject: Rails don't turn grass into dirt underneath them. (Patch contributed by STR_Warrior) git-svn-id: http://mc-server.googlecode.com/svn/trunk@1066 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/BlockID.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source') diff --git a/source/BlockID.cpp b/source/BlockID.cpp index d8e750f46..9a3682615 100644 --- a/source/BlockID.cpp +++ b/source/BlockID.cpp @@ -408,6 +408,9 @@ public: g_BlockTransparent[E_BLOCK_VINES] = true; g_BlockTransparent[E_BLOCK_WALLSIGN] = true; g_BlockTransparent[E_BLOCK_YELLOW_FLOWER] = true; + g_BlockTransparent[E_BLOCK_RAIL] = true; + g_BlockTransparent[E_BLOCK_DETECTOR_RAIL] = true; + g_BlockTransparent[E_BLOCK_POWERED_RAIL] = true; // TODO: Any other transparent blocks? -- cgit v1.2.3