From: Pasi Kallinen Date: Mon, 16 Mar 2020 20:10:37 +0000 (+0200) Subject: Don't flip column 0 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=44ba4a9e96af9002a061c225fc0189e4bb183600;p=nethack Don't flip column 0 --- diff --git a/src/sp_lev.c b/src/sp_lev.c index 9f0d3b943..abaeb7656 100755 --- a/src/sp_lev.c +++ b/src/sp_lev.c @@ -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)