badguy/walking_badguy.cpp: Fix the acceleration code.
authorFlorian Forster <supertux@octo.it>
Fri, 5 Mar 2010 07:42:10 +0000 (07:42 +0000)
committerFlorian Forster <supertux@octo.it>
Fri, 5 Mar 2010 07:42:10 +0000 (07:42 +0000)
commit8a67a77f55a0e6dc588aa0cd0eb9ef9d96f0a8fb
tree1c453e85a581360b9a6b2647e71250d49e6d0b0b
parent08893ef3886da66160921c68fb909498b770977b
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.

SVN-Revision: 6548
src/badguy/walking_badguy.cpp