aboutsummaryrefslogtreecommitdiff
path: root/src/clientmap.cpp
diff options
context:
space:
mode:
authorMichael Muller <mmuller@enduden.com>2018-11-28 14:01:01 -0500
committerSmallJoker <SmallJoker@users.noreply.github.com>2018-11-28 20:01:01 +0100
commitddd9317b733857630499972179caebc236b4d991 (patch)
treee7bf705a27299955480395d348c82a23de260bac /src/clientmap.cpp
parentfaa358e797128ab07bb5644ce305a832d59e5596 (diff)
downloadminetest-ddd9317b733857630499972179caebc236b4d991.tar.gz
minetest-ddd9317b733857630499972179caebc236b4d991.tar.bz2
minetest-ddd9317b733857630499972179caebc236b4d991.zip
Clean up stack after script_get_backtrace (#7854)
script_get_backtrace() was leaving its return value on the stack, corrupting subsequent lua operations for functions that did not immediately return. This problem can specifically be observed in the case of multiple "groupcaps" entries, each of which provides the legacy "maxwear" property. These cause a backtrace and thus pollute the stack for the following lua_next() call.
Diffstat (limited to 'src/clientmap.cpp')
0 files changed, 0 insertions, 0 deletions