summaryrefslogtreecommitdiffhomepage
path: root/editor/update.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-03-17 23:20:46 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-03-17 23:23:12 +0100
commit90c43f035f41cf901832794f0b4e00c2b5569723 (patch)
tree4cb7bc4f09509c03bbeb3cb3fcf6b115fca910f0 /editor/update.cpp
parentc17cef93bd6bbc1b071dcd82df0dbc9420e52ef4 (diff)
dddd
Diffstat (limited to 'editor/update.cpp')
-rw-r--r--editor/update.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/editor/update.cpp b/editor/update.cpp
index 7b3198ee..b16821f8 100644
--- a/editor/update.cpp
+++ b/editor/update.cpp
@@ -6,7 +6,6 @@
#include "floormat/events.hpp"
#include "floormat/main.hpp"
#include "character.hpp"
-#include "chunk.inl"
namespace floormat {
@@ -192,7 +191,7 @@ void app::update_world(float dt)
for (auto i = size-1; i != (std::size_t)-1; i--)
{
auto& e = *es[i];
- c.with_scenery_update(e, [&] { return e.update(i, dt); });
+ e.update(i, dt);
}
}
}