diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-08-07 22:00:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-08-07 22:00:29 +0300 |
commit | 344a88446cc1e15780de41c1187f40d18de7b60e (patch) | |
tree | 06173ee66396951b39cf6b8099898b3c7b35cf9c /src/gui/windows/skilldialog.cpp | |
parent | ad6c177a459cf5afb3ad88169d8ba6b1c47fff93 (diff) | |
download | plus-344a88446cc1e15780de41c1187f40d18de7b60e.tar.gz plus-344a88446cc1e15780de41c1187f40d18de7b60e.tar.bz2 plus-344a88446cc1e15780de41c1187f40d18de7b60e.tar.xz plus-344a88446cc1e15780de41c1187f40d18de7b60e.zip |
Adjust default missile particle lifetime.
Diffstat (limited to 'src/gui/windows/skilldialog.cpp')
-rw-r--r-- | src/gui/windows/skilldialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/skilldialog.cpp b/src/gui/windows/skilldialog.cpp index b4699c525..056256938 100644 --- a/src/gui/windows/skilldialog.cpp +++ b/src/gui/windows/skilldialog.cpp @@ -569,7 +569,7 @@ void SkillDialog::loadSkillData(XmlNodeConstPtr node, missile.z = static_cast<float>(XML::getFloatProperty( node, "missile-z", 32.0f)); missile.lifeTime = static_cast<float>(XML::getProperty( - node, "missile-lifetime", 3000)); + node, "missile-lifetime", 500)); missile.speed = static_cast<float>(XML::getFloatProperty( node, "missile-speed", 7.0f)); missile.dieDistance = static_cast<float>( @@ -581,7 +581,7 @@ void SkillDialog::loadSkillData(XmlNodeConstPtr node, castingMissile.z = static_cast<float>(XML::getFloatProperty( node, "castingMissile-z", 32.0f)); castingMissile.lifeTime = static_cast<float>(XML::getProperty( - node, "castingMissile-lifetime", 3000)); + node, "castingMissile-lifetime", 500)); castingMissile.speed = static_cast<float>(XML::getFloatProperty( node, "castingMissile-speed", 7.0f)); castingMissile.dieDistance = static_cast<float>( |