diff options
author | Jürgen Doser <jurgen.doser@gmail.com> | 2013-01-12 20:20:21 +0100 |
---|---|---|
committer | Ilya Zhuravlev <zhuravlevilya@ya.ru> | 2013-01-12 23:32:09 +0400 |
commit | 183c81b5ecf4f9350936737f5091073d81733d73 (patch) | |
tree | b96fb4fa39c200d2d794b87d4ffc771b19a12985 /src/serialization.cpp | |
parent | 076f13cc01916ea9942fcadeb1ec40924c8cde8b (diff) | |
download | minetest-183c81b5ecf4f9350936737f5091073d81733d73.tar.gz minetest-183c81b5ecf4f9350936737f5091073d81733d73.tar.bz2 minetest-183c81b5ecf4f9350936737f5091073d81733d73.zip |
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.
Diffstat (limited to 'src/serialization.cpp')
0 files changed, 0 insertions, 0 deletions