badguy/walking_badguy.cpp: Don't set "walk_speed" to zero when frozen.
authorflorianf <florianf@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Fri, 5 Mar 2010 07:45:29 +0000 (07:45 +0000)
committerflorianf <florianf@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Fri, 5 Mar 2010 07:45:29 +0000 (07:45 +0000)
Otherwise the badguy doesn't start walking after being un-frozen.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6549 837edb03-e0f3-0310-88ca-d4d4e8b29345

src/badguy/walking_badguy.cpp

index 5df3555..1d4cf15 100644 (file)
@@ -195,7 +195,6 @@ WalkingBadguy::freeze()
 {
   BadGuy::freeze();
   physic.set_velocity_x(0);
-  set_walk_speed (0.0);
 }
 
 void