]> granicus.if.org Git - nethack/commitdiff
Don't flip column 0
authorPasi Kallinen <paxed@alt.org>
Mon, 16 Mar 2020 20:10:37 +0000 (22:10 +0200)
committerPasi Kallinen <paxed@alt.org>
Mon, 16 Mar 2020 20:10:37 +0000 (22:10 +0200)
src/sp_lev.c

index 9f0d3b9430b43bd121f284bd7e512b5f6b00cbae..abaeb7656584435cbd4529daa2b91b4bb8619521 100755 (executable)
@@ -453,8 +453,8 @@ boolean extras;
     /* get_level_extends() returns -1,-1 to COLNO,ROWNO at max */
     if (miny < 0)
         miny = 0;
-    if (minx < 0)
-        minx = 0;
+    if (minx < 1)
+        minx = 1;
     if (maxx >= COLNO)
         maxx = (COLNO - 1);
     if (maxy >= ROWNO)