1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-29 09:32:45 +00:00

Fix pipeline errors

This commit is contained in:
Alexei Kotov 2022-07-31 14:43:57 +03:00
parent a41c9240d9
commit 0b1e6a2b59
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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())