diff options
Diffstat (limited to 'src/world.cpp')
-rw-r--r-- | src/world.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/world.cpp b/src/world.cpp index 648507a..e251706 100644 --- a/src/world.cpp +++ b/src/world.cpp @@ -389,6 +389,8 @@ void WorldSystem::load(const std::string& file) entity.assign<Aggro>(wxml, abcd); else if (tname == "Animation") entity.assign<Animate>(wxml, abcd); + else if (tname == "Trigger") + entity.assign<Trigger>(wxml, abcd); abcd = abcd->NextSiblingElement(); } |