Limit light_source in the engine (#4814)
authorjuhdanad <juhdanad@gmail.com>
Mon, 28 Nov 2016 08:43:33 +0000 (09:43 +0100)
committerZeno- <kde.psych@gmail.com>
Mon, 28 Nov 2016 08:43:33 +0000 (18:43 +1000)
commit2fe3bf5a18eb9aa9f38654b3c0a0729c42408cd6
treeafccb5b126b0ca34694ad9e8052a85f6f1a44b7f
parentbb06d377a163b2d168c9d327ad38b871132fa8ea
Limit light_source in the engine (#4814)

Since light_source>15 causes crash, it must be limited.
src/nodedef.cpp
src/script/common/c_content.cpp
src/voxelalgorithms.cpp