diff --git a/apps/openmw/mwworld/projectilemanager.cpp b/apps/openmw/mwworld/projectilemanager.cpp index 844800a41..c70f3de99 100644 --- a/apps/openmw/mwworld/projectilemanager.cpp +++ b/apps/openmw/mwworld/projectilemanager.cpp @@ -40,6 +40,7 @@ namespace ESM::EffectList getMagicBoltData(std::vector& projectileIDs, std::vector& sounds, float& speed, const ESM::EffectList& effects) { int count = 0; + speed = 0.0f; ESM::EffectList projectileEffects; for (std::vector::const_iterator iter (effects.mList.begin()); iter!=effects.mList.end(); ++iter)