From: florianf Date: Fri, 5 Mar 2010 07:45:29 +0000 (+0000) Subject: badguy/walking_badguy.cpp: Don't set "walk_speed" to zero when frozen. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=9ec96d7f966282144e8d01790a43a9d6529058c3;p=supertux.git badguy/walking_badguy.cpp: Don't set "walk_speed" to zero when frozen. 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 --- diff --git a/src/badguy/walking_badguy.cpp b/src/badguy/walking_badguy.cpp index 5df35555d..1d4cf159f 100644 --- a/src/badguy/walking_badguy.cpp +++ b/src/badguy/walking_badguy.cpp @@ -195,7 +195,6 @@ WalkingBadguy::freeze() { BadGuy::freeze(); physic.set_velocity_x(0); - set_walk_speed (0.0); } void