MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / StopUpdate

Function StopUpdate

src/SB/Core/x/xAnim.cpp:1407–1414  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1405}
1406
1407static void StopUpdate(xAnimSingle* single)
1408{
1409 if (single->Time > single->State->Data->Duration)
1410 {
1411 single->Time = single->State->Data->Duration;
1412 single->CurrentSpeed = 0.0f;
1413 }
1414}
1415
1416static void LoopUpdate(xAnimSingle* single)
1417{

Callers 1

SingleUpdateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected