diff --git a/Sources/Plasma/PubUtilLib/plInterp/hsInterp.cpp b/Sources/Plasma/PubUtilLib/plInterp/hsInterp.cpp index 374437cd..fb287d91 100644 --- a/Sources/Plasma/PubUtilLib/plInterp/hsInterp.cpp +++ b/Sources/Plasma/PubUtilLib/plInterp/hsInterp.cpp @@ -404,7 +404,7 @@ void hsInterp::GetBoundaryKeyFrames(float time, uint32_t numKeys, void *keys, ui { hsAssert(numKeys>1, "Must have more than 1 keyframe"); int k1, k2; - uint16_t frame = (uint16_t)(time * MAX_FRAMES_PER_SEC); + float frame = time * MAX_FRAMES_PER_SEC; // boundary case, past end if (frame > GetKey(numKeys-1, keys, size)->fFrame)