diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/map.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map.cpp b/src/map.cpp index 7a3de78..0cf9402 100644 --- a/src/map.cpp +++ b/src/map.cpp | |||
@@ -88,7 +88,7 @@ Map::Map(std::string_view name) : name_(name) { | |||
88 | } else if (property.getName() == "collisionHeight") { | 88 | } else if (property.getName() == "collisionHeight") { |
89 | p.collisionSize.h() = property.getIntValue(); | 89 | p.collisionSize.h() = property.getIntValue(); |
90 | } else if (property.getName() == "animation") { | 90 | } else if (property.getName() == "animation") { |
91 | p.animationFilename = property.getStringValue(); | 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() == "interactionScript") { | 94 | } else if (property.getName() == "interactionScript") { |