have a look at ent_bonereset(), each bone rotate is adding to it's previous rotation