From: Florian Forster 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=8c0f32d449adf132e6d5555e746b5b36c477f3af;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. SVN-Revision: 6549 --- 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