Oh, I see now. Try using IsSprinting() in place of m_actions&ACTION_SPRINT, and where did you put your subtraction line?
And at that, Albi cried a single tear which became a jellybean all colors of the rainbow!
Suddenly, Albi wasn't racist anymore.
So they sat in the cave; and ate bubblegum pie, YUM!
Albi the racist -- well, not anymore -- dragon!