summaryrefslogtreecommitdiff
path: root/src/client/client.h
diff options
context:
space:
mode:
authorLoïc Blot <loic.blot@unix-experience.fr>2019-02-26 08:53:53 +0100
committerLoïc Blot <loic.blot@unix-experience.fr>2019-02-26 08:53:53 +0100
commit111f1dc9c5f336f5b4f12c15940dc4cc2cbe7f82 (patch)
tree3d5039d7fcddcd5aac3ba9fa6dd124b0f4bb7884 /src/client/client.h
parent911db0e25613e57d436ca39ee055d2fb4ee771aa (diff)
downloadminetest-111f1dc9c5f336f5b4f12c15940dc4cc2cbe7f82.tar.gz
minetest-111f1dc9c5f336f5b4f12c15940dc4cc2cbe7f82.tar.bz2
minetest-111f1dc9c5f336f5b4f12c15940dc4cc2cbe7f82.zip
Revert "Revert CSM particles commit to fix particle spawner bug for 5.0.0 (#8288)"
This reverts commit 01cd63bd3bca0192dab2834faf414b022706a77e.
Diffstat (limited to 'src/client/client.h')
-rw-r--r--src/client/client.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/client/client.h b/src/client/client.h
index 57623f164..60735f665 100644
--- a/src/client/client.h
+++ b/src/client/client.h
@@ -565,8 +565,10 @@ private:
// And relations to objects
std::unordered_map<int, u16> m_sounds_to_objects;
- // HUD
- // Mapping from server hud ids to internal hud ids
+ // CSM/client IDs to SSM/server IDs Mapping
+ // Map server particle spawner IDs to client IDs
+ std::unordered_map<u32, u32> m_particles_server_to_client;
+ // Map server hud ids to client hud ids
std::unordered_map<u32, u32> m_hud_server_to_client;
// Privileges