summaryrefslogtreecommitdiffhomepage
path: root/src/world.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-03-19 16:18:13 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-03-19 16:18:13 +0100
commit86bd6a4411badecfc76fe3a9d29b4aa30c8fdba7 (patch)
tree468c23d67bab654f98126c1fa7ab58e9043b3f6a /src/world.cpp
parentf1da751349fb52a8a88b10bc3289288a4fcd2396 (diff)
work on entity reodering
Diffstat (limited to 'src/world.cpp')
-rw-r--r--src/world.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/world.cpp b/src/world.cpp
index 8c564007..9d669e62 100644
--- a/src/world.cpp
+++ b/src/world.cpp
@@ -21,6 +21,7 @@ world& world::operator=(world&& w) noexcept
_chunks = std::move(w._chunks);
_entities = std::move(w._entities);
_entity_counter = w._entity_counter;
+ _current_frame = w._current_frame;
w._entity_counter = 0;
for (auto& [id, c] : _chunks)