]> git.lizzy.rs Git - minetest.git/commit
Fix /emergeblocks crashing in debug builds (#11461)
authorWuzzy <wuzzy2@mail.ru>
Sat, 31 Jul 2021 17:54:40 +0000 (17:54 +0000)
committerGitHub <noreply@github.com>
Sat, 31 Jul 2021 17:54:40 +0000 (19:54 +0200)
commite7cd4cfa25485610c05a906859e8365158a13f69
treea7160e8a470fc3fe59e1b944cf0f5e9135d5d4e3
parent0257e7150f4c6dfe7b10802ada938143253c1773
Fix /emergeblocks crashing in debug builds (#11461)

The reason for the bug was an u16 overflow, thus failing the assert. This only happened in Debug build but not in Release builds.
builtin/settingtypes.txt
src/emerge.cpp
src/emerge.h
src/settings.cpp
src/settings.h