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