badguy/walking_badguy.cpp: Fix the acceleration code.
authorflorianf <florianf@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Fri, 5 Mar 2010 07:42:10 +0000 (07:42 +0000)
committerflorianf <florianf@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Fri, 5 Mar 2010 07:42:10 +0000 (07:42 +0000)
commitf93f1520945161b09650472ffd54e39ceb07d14d
tree1c453e85a581360b9a6b2647e71250d49e6d0b0b
parentf7b6ad0dbbf53aa0f5710d68a38858c0ea964d02
badguy/walking_badguy.cpp: Fix the acceleration code.

It should now be able to handle all situations, even when the badguy is thrown
backwards faster than he would normally walk forward (was broken before) and
frozen badguys are no longer sliding along without a move animation.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6548 837edb03-e0f3-0310-88ca-d4d4e8b29345
src/badguy/walking_badguy.cpp