diff --git a/apps/essimporter/converter.hpp b/apps/essimporter/converter.hpp index b22a7a5197..f732143443 100644 --- a/apps/essimporter/converter.hpp +++ b/apps/essimporter/converter.hpp @@ -237,7 +237,7 @@ public: { CellRef refr; refr.load(esm); - assert(refr.mIndexedRefID == "PlayerSaveGame"); + assert(refr.mIndexedRefId == "PlayerSaveGame"); mContext->mPlayer.mObject.mPosition = refr.mPos; ESM::CreatureStats& cStats = mContext->mPlayer.mObject.mCreatureStats; diff --git a/apps/openmw/mwmechanics/character.cpp b/apps/openmw/mwmechanics/character.cpp index 4de7dda4ce..bde2a8ce18 100644 --- a/apps/openmw/mwmechanics/character.cpp +++ b/apps/openmw/mwmechanics/character.cpp @@ -1347,7 +1347,7 @@ bool CharacterController::updateWeaponState(CharacterState idle) if (isPersistentAnimPlaying()) return forcestateupdate; - float complete; + float complete = 0.f; bool animPlaying = false; ESM::WeaponType::Class weapclass = getWeaponType(mWeaponType)->mWeaponClass; if(getAttackingOrSpell())