|
|
@ -463,8 +463,8 @@ namespace MWRender
|
|
|
|
if (torch != inv.end() && torch->getType() == ESM::Light::sRecordId && showCarriedLeft)
|
|
|
|
if (torch != inv.end() && torch->getType() == ESM::Light::sRecordId && showCarriedLeft)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (!mAnimation->getInfo("torch"))
|
|
|
|
if (!mAnimation->getInfo("torch"))
|
|
|
|
mAnimation->play(
|
|
|
|
mAnimation->play("torch", 2, BlendMask::BlendMask_LeftArm, false, 1.0f, "start", "stop", 0.0f,
|
|
|
|
"torch", 2, BlendMask::BlendMask_LeftArm, false, 1.0f, "start", "stop", 0.0f, std::numeric_limits<uint32_t>::max(), true);
|
|
|
|
std::numeric_limits<uint32_t>::max(), true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if (mAnimation->getInfo("torch"))
|
|
|
|
else if (mAnimation->getInfo("torch"))
|
|
|
|
mAnimation->disable("torch");
|
|
|
|
mAnimation->disable("torch");
|
|
|
|