mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 19:19:56 +00:00
Initialize speed for magic projectiles
This commit is contained in:
parent
c33d01e5dd
commit
322a0ba8bb
1 changed files with 1 additions and 0 deletions
|
@ -40,6 +40,7 @@ namespace
|
||||||
ESM::EffectList getMagicBoltData(std::vector<std::string>& projectileIDs, std::vector<std::string>& sounds, float& speed, const ESM::EffectList& effects)
|
ESM::EffectList getMagicBoltData(std::vector<std::string>& projectileIDs, std::vector<std::string>& sounds, float& speed, const ESM::EffectList& effects)
|
||||||
{
|
{
|
||||||
int count = 0;
|
int count = 0;
|
||||||
|
speed = 0.0f;
|
||||||
ESM::EffectList projectileEffects;
|
ESM::EffectList projectileEffects;
|
||||||
for (std::vector<ESM::ENAMstruct>::const_iterator iter (effects.mList.begin());
|
for (std::vector<ESM::ENAMstruct>::const_iterator iter (effects.mList.begin());
|
||||||
iter!=effects.mList.end(); ++iter)
|
iter!=effects.mList.end(); ++iter)
|
||||||
|
|
Loading…
Reference in a new issue