Fix demo player bug
Posted: Fri Nov 13, 2015 10:18 pm
Hi. I started to make videos from demos and I noticed an ugly bug in demo player. It draws movement of weapons in the hands incorrectly when the gun passes through zero angle.
What I actually do: This is how demo player draw it: Zero angle: For greater clarity, you can also download this demo and play it with different speed to see this bug in action: You may have noticed this effect on some videos. That looks ugly sometimes -.-
For example: https://youtu.be/kT8k66dNG8Y?t=78 (01:18 - 01:22)
I spent some hours with debugger and I think I fixed it. (need to check https://github.com/ddnet/ddnet/pull/369)
By the way is anyone else noticed this bug? Because it seems it's there since a long time.
What I actually do: This is how demo player draw it: Zero angle: For greater clarity, you can also download this demo and play it with different speed to see this bug in action: You may have noticed this effect on some videos. That looks ugly sometimes -.-
For example: https://youtu.be/kT8k66dNG8Y?t=78 (01:18 - 01:22)
I spent some hours with debugger and I think I fixed it. (need to check https://github.com/ddnet/ddnet/pull/369)
By the way is anyone else noticed this bug? Because it seems it's there since a long time.