# HG changeset patch # User sheepluva # Date 1366134832 -7200 # Node ID b77fd3c2eec5065d0df16a9090bf3192a329d897 # Parent 0ccaa19c6367db80a114a7a54bcf5790adbe7fa2 whoops, unbreak build. how come that cmake doesn't stop anymore on engine build error? diff -r 0ccaa19c6367 -r b77fd3c2eec5 hedgewars/GSHandlers.inc --- a/hedgewars/GSHandlers.inc Tue Apr 16 17:31:39 2013 +0200 +++ b/hedgewars/GSHandlers.inc Tue Apr 16 19:53:52 2013 +0200 @@ -3683,11 +3683,11 @@ // wow! good candidate there, let's see if the distance and direction is okay! if hasdxy then begin - s: = Distance(iterator^.dX, iterator^.dY); + s := Distance(iterator^.dX, iterator^.dY); // if the resulting distance is 0 skip this gear if s.QWordValue = 0 then continue; - s := r / s + s := r / s; ox:= iterator^.X + s * iterator^.dX; oy:= iterator^.Y + s * iterator^.dY; end