1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-28 19:21:04 +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");