|
|
@ -565,8 +565,6 @@ namespace MWWorld
|
|
|
|
state.mVelocity = it->mVelocity;
|
|
|
|
state.mVelocity = it->mVelocity;
|
|
|
|
state.mAttackStrength = it->mAttackStrength;
|
|
|
|
state.mAttackStrength = it->mAttackStrength;
|
|
|
|
|
|
|
|
|
|
|
|
state.mThrown = it->mThrown;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
state.save(writer);
|
|
|
|
state.save(writer);
|
|
|
|
|
|
|
|
|
|
|
|
writer.endRecord(ESM::REC_PROJ);
|
|
|
|
writer.endRecord(ESM::REC_PROJ);
|
|
|
@ -604,7 +602,6 @@ namespace MWWorld
|
|
|
|
state.mVelocity = esm.mVelocity;
|
|
|
|
state.mVelocity = esm.mVelocity;
|
|
|
|
state.mIdArrow = esm.mId;
|
|
|
|
state.mIdArrow = esm.mId;
|
|
|
|
state.mAttackStrength = esm.mAttackStrength;
|
|
|
|
state.mAttackStrength = esm.mAttackStrength;
|
|
|
|
state.mThrown = esm.mThrown;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
std::string model;
|
|
|
|
std::string model;
|
|
|
|
try
|
|
|
|
try
|
|
|
@ -612,6 +609,7 @@ namespace MWWorld
|
|
|
|
MWWorld::ManualRef ref(MWBase::Environment::get().getWorld()->getStore(), esm.mId);
|
|
|
|
MWWorld::ManualRef ref(MWBase::Environment::get().getWorld()->getStore(), esm.mId);
|
|
|
|
MWWorld::Ptr ptr = ref.getPtr();
|
|
|
|
MWWorld::Ptr ptr = ref.getPtr();
|
|
|
|
model = ptr.getClass().getModel(ptr);
|
|
|
|
model = ptr.getClass().getModel(ptr);
|
|
|
|
|
|
|
|
state.mThrown = ptr.get<ESM::Weapon>()->mBase->mData.mType == ESM::Weapon::MarksmanThrown;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
catch(...)
|
|
|
|
catch(...)
|
|
|
|
{
|
|
|
|
{
|
|
|
|