]> git.lizzy.rs Git - minetest.git/commit
fix integer overflow (fixes #414)
authorJürgen Doser <jurgen.doser@gmail.com>
Sat, 12 Jan 2013 19:20:21 +0000 (20:20 +0100)
committerIlya Zhuravlev <zhuravlevilya@ya.ru>
Sat, 12 Jan 2013 19:32:09 +0000 (23:32 +0400)
commit183c81b5ecf4f9350936737f5091073d81733d73
treeb96fb4fa39c200d2d794b87d4ffc771b19a12985
parent076f13cc01916ea9942fcadeb1ec40924c8cde8b
fix integer overflow (fixes #414)

liquid_kind was declared as an u8, but used to hold a content_t value, which is delcared to be a u16.

changing this fixes (at least for me) the problem reported in bug #414.
src/map.cpp