hedgewars/uRender.pas
changeset 6710 42504695122d
parent 6700 e04da46ee43c
child 6982 8d41d22a291d
--- a/hedgewars/uRender.pas	Sat Feb 18 11:59:59 2012 +0100
+++ b/hedgewars/uRender.pas	Sat Feb 18 13:52:37 2012 +0100
@@ -470,8 +470,11 @@
             if RealTicks > (startTime + MOVE_ANIM_TIME) then
                 begin
                 startTime:= 0;
+                animate:= false;
                 frame.x:= target.x;
                 frame.y:= target.y;
+                active.x:= active.x + (target.x - source.x);
+                active.y:= active.y + (target.y - source.y);
                 end
             else
                 begin