aboutsummaryrefslogtreecommitdiffstats
path: root/src/world.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/world.cpp')
-rw-r--r--src/world.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/world.cpp b/src/world.cpp
index 6b18542..b10edac 100644
--- a/src/world.cpp
+++ b/src/world.cpp
@@ -375,6 +375,8 @@ void WorldSystem::load(const std::string& file)
entity.assign<Grounded>();
} else if (tname == "Wander") {
entity.assign<Wander>();
+ } else if (tname == "Hop" ) {
+ entity.assign<Hop>();
} else if (tname == "Animation") {
auto entan = entity.assign<Animate>();
auto animx = abcd->FirstChildElement();