summaryrefslogtreecommitdiff
path: root/src/resources/db/itemdb.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-07 22:00:29 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-07 22:00:29 +0300
commit344a88446cc1e15780de41c1187f40d18de7b60e (patch)
tree06173ee66396951b39cf6b8099898b3c7b35cf9c /src/resources/db/itemdb.cpp
parentad6c177a459cf5afb3ad88169d8ba6b1c47fff93 (diff)
downloadplus-344a88446cc1e15780de41c1187f40d18de7b60e.tar.gz
plus-344a88446cc1e15780de41c1187f40d18de7b60e.tar.bz2
plus-344a88446cc1e15780de41c1187f40d18de7b60e.tar.xz
plus-344a88446cc1e15780de41c1187f40d18de7b60e.zip
Adjust default missile particle lifetime.
Diffstat (limited to 'src/resources/db/itemdb.cpp')
-rw-r--r--src/resources/db/itemdb.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/db/itemdb.cpp b/src/resources/db/itemdb.cpp
index ded7e59f2..68cb5b3bb 100644
--- a/src/resources/db/itemdb.cpp
+++ b/src/resources/db/itemdb.cpp
@@ -348,7 +348,7 @@ void ItemDB::loadXmlFile(const std::string &fileName,
float missileZ = static_cast<float>(XML::getFloatProperty(
node, "missile-z", 32.0f));
int missileLifeTime = static_cast<float>(XML::getProperty(
- node, "missile-lifetime", 3000));
+ node, "missile-lifetime", 500));
float missileSpeed = static_cast<float>(XML::getFloatProperty(
node, "missile-speed", 7.0f));
float missileDieDistance = static_cast<float>(XML::getFloatProperty(
@@ -502,7 +502,7 @@ void ItemDB::loadXmlFile(const std::string &fileName,
missileParticle = inheritMissile.particle;
if (missileZ == 32.0F)
missileZ = inheritMissile.z;
- if (missileLifeTime == 3000)
+ if (missileLifeTime == 500)
missileLifeTime = inheritMissile.lifeTime;
if (missileSpeed == 7.0F)
missileSpeed = inheritMissile.speed;