X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d626256bc2f2798202dbb4656f2f53aab0815f2c..d469b91e7e1e1c1474c2b1e52838ada3aba158c2:/app/controllers/swf_controller.rb?ds=inline diff --git a/app/controllers/swf_controller.rb b/app/controllers/swf_controller.rb index 2c9d64548..18aa20774 100644 --- a/app/controllers/swf_controller.rb +++ b/app/controllers/swf_controller.rb @@ -73,7 +73,7 @@ class SwfController < ApplicationController ys=(lat2coord(row['lat'].to_f ,basey ,masterscale)*20).floor xl=[xs,xl].min; xr=[xs,xr].max yb=[ys,yb].min; yt=[ys,yt].max - if (row['ts'].to_i-lasttime<180 and row['fileid']==lastfile) + if (row['ts'].to_i-lasttime<180 and row['fileid']==lastfile and row['ts'].to_i!=lasttime) b+=drawTo(absx,absy,xs,ys) else b+=startAndMove(xs,ys,'01')