about summary refs log tree commit diff stats
path: root/geom.lua
diff options
context:
space:
mode:
Diffstat (limited to 'geom.lua')
-rw-r--r--geom.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/geom.lua b/geom.lua
index 3efe4ec..4dc2e3a 100644
--- a/geom.lua
+++ b/geom.lua
@@ -22,8 +22,6 @@ function geom.on_shape(x,y, drawing, shape)
         x1,x2 = x2,x1
       end
       return x >= x1*0.95 and x <= x2*1.05
-    else
-      assert(false)
     end
   elseif shape.mode == 'polygon' or shape.mode == 'rectangle' or shape.mode == 'square' then
     return geom.on_polygon(x,y, drawing, shape)