mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-24 18:39:59 +00:00
Fix warnings
This commit is contained in:
parent
ecec7d8215
commit
96e1726e4d
@ -1245,7 +1245,7 @@ bool CharacterController::updateWeaponState()
|
|||||||
|
|
||||||
const ESM::Static* castStatic = MWBase::Environment::get().getWorld()->getStore().get<ESM::Static>().find ("VFX_Hands");
|
const ESM::Static* castStatic = MWBase::Environment::get().getWorld()->getStore().get<ESM::Static>().find ("VFX_Hands");
|
||||||
|
|
||||||
for (int iter = 0; iter < spell->mEffects.mList.size(); ++iter) // play hands vfx for each effect
|
for (size_t iter = 0; iter < spell->mEffects.mList.size(); ++iter) // play hands vfx for each effect
|
||||||
{
|
{
|
||||||
if (mAnimation->getNode("Bip01 L Hand"))
|
if (mAnimation->getNode("Bip01 L Hand"))
|
||||||
mAnimation->addEffect("meshes\\" + castStatic->mModel, -1, false, "Bip01 L Hand", effect->mParticle);
|
mAnimation->addEffect("meshes\\" + castStatic->mModel, -1, false, "Bip01 L Hand", effect->mParticle);
|
||||||
|
@ -345,7 +345,7 @@ namespace MWMechanics
|
|||||||
false, effects, mCaster, mSourceName, fallbackDirection);
|
false, effects, mCaster, mSourceName, fallbackDirection);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
const ESM::EffectList empty;
|
ESM::EffectList empty;
|
||||||
MWBase::Environment::get().getWorld()->launchMagicBolt(model, sound, mId, speed,
|
MWBase::Environment::get().getWorld()->launchMagicBolt(model, sound, mId, speed,
|
||||||
false, empty, mCaster, mSourceName, fallbackDirection);
|
false, empty, mCaster, mSourceName, fallbackDirection);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user