]> git.lizzy.rs Git - minetest.git/commit
Fix particle spawners not visible since CSM spawner implementation (#8289)
authorLoïc Blot <nerzhul@users.noreply.github.com>
Fri, 1 Mar 2019 19:16:11 +0000 (20:16 +0100)
committerGitHub <noreply@github.com>
Fri, 1 Mar 2019 19:16:11 +0000 (20:16 +0100)
commit170dd409cbf1856600ee5089a95c096dd668b75e
treedd18026fbfe1e9c76f9081864174266109809996
parent111f1dc9c5f336f5b4f12c15940dc4cc2cbe7f82
Fix particle spawners not visible since CSM spawner implementation (#8289)

* Drop the ID mapper, use a big u64 instead. This will permit to resync server ids properly with the manager code
* Modernize some code parts (std::unordered_map, auto)
* generate id on client part on U32_MAX + 1 ids, lower are for server ids
src/client/client.h
src/client/clientevent.h
src/client/particles.cpp
src/client/particles.h
src/network/clientpackethandler.cpp
src/script/lua_api/l_particles_local.cpp