Lerg/tnt — pull request #1 by gdeglin (2012-12-06 23:50:03+00:00)
Title: Fix for incorrect calculation on remainingTime during timer pause

Fix a bug where timers that are running when the speed is set to a value that is not 1 will not get paused with the right remaining time.

For example, lets create a new timer with speed=0.5, and duration 1000.
If you pause the timer 100 milliseconds later, the remaining duration (remainingTime) should be 800.
In the current code, the remainingTime would be incorrectly calculated to be 900.

This patch fixes the problem by correctly dividing the elapsed time by _M.speed before subtracting it from the original duration.