summaryrefslogtreecommitdiff
path: root/src/resources/monsterdb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/monsterdb.cpp')
-rw-r--r--src/resources/monsterdb.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/resources/monsterdb.cpp b/src/resources/monsterdb.cpp
index 5ccb5dd1..dffac5f5 100644
--- a/src/resources/monsterdb.cpp
+++ b/src/resources/monsterdb.cpp
@@ -133,7 +133,9 @@ void MonsterDB::load()
spriteNode, "particle-effect", "");
SpriteAction spriteAction = SpriteDef::makeSpriteAction(
XML::getProperty(spriteNode, "action", "attack"));
- currentInfo->addMonsterAttack(id, particleEffect, spriteAction);
+ const std::string missileParticle = XML::getProperty(
+ spriteNode, "missile-particle", "");
+ currentInfo->addMonsterAttack(id, particleEffect, spriteAction, missileParticle);
}
else if (xmlStrEqual(spriteNode->name, BAD_CAST "particlefx"))
{