diff --git a/luprex/cpp/core/world-core.cpp b/luprex/cpp/core/world-core.cpp index 0b8052e2..1a03231e 100644 --- a/luprex/cpp/core/world-core.cpp +++ b/luprex/cpp/core/world-core.cpp @@ -147,7 +147,7 @@ World::World(WorldType wt) { assign_seqno_ = 1; } -Tangible::Tangible(World *w, int64_t id) : world_(w), anim_queue_(), id_player_pool_(&w->id_global_pool_) { +Tangible::Tangible(World *w, int64_t id) : anim_queue_(), id_player_pool_(&w->id_global_pool_) { plane_item_.set_id(id); plane_item_.track(&w->plane_map_); } diff --git a/luprex/cpp/core/world.hpp b/luprex/cpp/core/world.hpp index 043f32f0..b5094f9d 100644 --- a/luprex/cpp/core/world.hpp +++ b/luprex/cpp/core/world.hpp @@ -45,9 +45,6 @@ private: void deserialize(StreamBuffer *sb); public: - // Always points back to the world model. - World *world_; - // Animation queue. // AnimQueue anim_queue_;