1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-04-07 13:20:25 +00:00

~0ul -> std::numeric_limits<uint32_t>::max()

This commit is contained in:
Mads Buvik Sandvei 2024-01-28 21:02:06 +01:00
parent 0ed94ead4e
commit fbffecfd13

View File

@ -464,7 +464,7 @@ namespace MWRender
{ {
if (!mAnimation->getInfo("torch")) if (!mAnimation->getInfo("torch"))
mAnimation->play( mAnimation->play(
"torch", 2, BlendMask::BlendMask_LeftArm, false, 1.0f, "start", "stop", 0.0f, ~0ul, true); "torch", 2, BlendMask::BlendMask_LeftArm, false, 1.0f, "start", "stop", 0.0f, std::numeric_limits<uint32_t>::max(), true);
} }
else if (mAnimation->getInfo("torch")) else if (mAnimation->getInfo("torch"))
mAnimation->disable("torch"); mAnimation->disable("torch");