diff options
author | Loic Blot <loic.blot@unix-experience.fr> | 2018-03-08 22:19:25 +0100 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2018-03-08 23:00:17 +0100 |
commit | c7c03ad7a60b77040d0dfc360a79f065e0c2c971 (patch) | |
tree | 148e6617ced494a4f1cae085666bcd06eb14a1d3 /src/gettext.cpp | |
parent | c7656edaa57a951f2496d454a42cdf899459b572 (diff) | |
download | minetest-c7c03ad7a60b77040d0dfc360a79f065e0c2c971.tar.gz minetest-c7c03ad7a60b77040d0dfc360a79f065e0c2c971.tar.bz2 minetest-c7c03ad7a60b77040d0dfc360a79f065e0c2c971.zip |
Cleanup & bugfix
* ObjectRef::set_local_animation: fix wrong lua return (should push a boolean, currently returns nil)
* ObjectRef::set_eye_offset: fix wrong lua return (should push a boolean, currently returns nil)
* Fix various Server functions which depends on RemotePlayer objet and return true/false when player object is nil whereas it's a caller implementation error. Change those bool functions to void and add sanitize_check call instead. Current callers are always checking player object validity
* Optimize Server::setClouds : use CloudParams object ref instead of attribute deserialization from structure & perform RemotePlayer::setCloudParams directly in server class like many other calls
* Optimize Server::SendCloudParams: use CloudParams object ref instead of deserialized attributes
Diffstat (limited to 'src/gettext.cpp')
0 files changed, 0 insertions, 0 deletions