hedgewars/uLandObjects.pas
changeset 15032 88e3d1ff67bb
parent 15029 af2f6f4074de
child 15104 07de9e60c305
--- a/hedgewars/uLandObjects.pas	Wed May 22 23:05:55 2019 +0300
+++ b/hedgewars/uLandObjects.pas	Wed May 22 23:53:00 2019 +0300
@@ -1061,7 +1061,7 @@
     else if key = 'snow' then
         cSnow:= true
     else if key = 'rope-step' then
-        cRopeNodeStep:= StrToInt(s)
+        cRopeNodeStep:= max(1, StrToInt(s))
     else if key = 'rope-layers' then
         cRopeLayers:= max(1, min(MAXROPELAYERS, StrToInt(s)))
     else if key = 'sd-water-top' then