diff options
Diffstat (limited to 'src/map.cpp')
-rw-r--r-- | src/map.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map.cpp b/src/map.cpp index 0cf9402..c3ac828 100644 --- a/src/map.cpp +++ b/src/map.cpp | |||
@@ -91,6 +91,8 @@ Map::Map(std::string_view name) : name_(name) { | |||
91 | p.animationFilename = "../res/sprites/" + property.getStringValue() + "_anim.txt"; | 91 | p.animationFilename = "../res/sprites/" + property.getStringValue() + "_anim.txt"; |
92 | } else if (property.getName() == "animName") { | 92 | } else if (property.getName() == "animName") { |
93 | p.animName = property.getStringValue(); | 93 | p.animName = property.getStringValue(); |
94 | } else if (property.getName() == "direction") { | ||
95 | p.dir = directionFromString(property.getStringValue()); | ||
94 | } else if (property.getName() == "interactionScript") { | 96 | } else if (property.getName() == "interactionScript") { |
95 | p.interactionScript = property.getStringValue(); | 97 | p.interactionScript = property.getStringValue(); |
96 | } else if (property.getName() == "shadow") { | 98 | } else if (property.getName() == "shadow") { |