]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/swf_controller.rb
Potlatch 0.4c: bugfixes, history in progress
[rails.git] / app / controllers / swf_controller.rb
index 2c9d64548827a35880240eff7b9628d865e34039..18aa20774dfe5b0c32999bd8ed8d1fb3d571be96 100644 (file)
@@ -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')