func_bobbing now works

trDuration needs no reset for func_bobbing, it calculated in SP_func_bobbing. Since it doesn't use activatedPosition and restingPositions, distance becomes 0 causing trDuration set to 1.
Every int deltaTime divided by 1 results in integral num, multiplied by 2*pi gives us same angle and same sin(angle). That's the reason func_bobbing didn't move before.