mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix set_bone_position regression (error on passing none)
This commit is contained in:
parent
cb38b841af
commit
cad8e895f2
3 changed files with 16 additions and 10 deletions
|
@ -149,8 +149,9 @@ DeprecatedHandlingMode get_deprecated_handling_mode();
|
|||
* @param message The deprecation method
|
||||
* @param stack_depth How far on the stack to the first user function
|
||||
* (ie: not builtin or core). -1 to disabled.
|
||||
* @param once Log the deprecation warning only once per callsite.
|
||||
*/
|
||||
void log_deprecated(lua_State *L, std::string message, int stack_depth = 1);
|
||||
void log_deprecated(lua_State *L, std::string message, int stack_depth = 1, bool once = false);
|
||||
|
||||
// Safely call string.dump on a function value
|
||||
// (does not pop, leaves one value on stack)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue