1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-21 05:39:42 +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"))
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"))
mAnimation->disable("torch");