summaryrefslogtreecommitdiffhomepage
path: root/editor/update.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/update.cpp')
-rw-r--r--editor/update.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/update.cpp b/editor/update.cpp
index 4dacaf8a..aa1495c1 100644
--- a/editor/update.cpp
+++ b/editor/update.cpp
@@ -5,7 +5,7 @@
#include "main/clickable.hpp"
#include "floormat/events.hpp"
#include "floormat/main.hpp"
-#include "src/character.hpp"
+#include "src/critter.hpp"
#include "src/tile-iterator.hpp"
#include "keys.hpp"
#include "loader/loader.hpp"
@@ -234,7 +234,7 @@ void app::update_character([[maybe_unused]] float dt)
if (_character_id)
{
auto& w = M->world();
- auto c = w.find_object<character>(_character_id);
+ auto c = w.find_object<critter>(_character_id);
if (c && c->playable)
c->set_keys(keys[key_left], keys[key_right], keys[key_up], keys[key_down]);
}