-/* NetHack 3.6 wintty.c $NHDT-Date: 1506908980 2017/10/02 01:49:40 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.140 $ */
+/* NetHack 3.6 wintty.c $NHDT-Date: 1520825319 2018/03/12 03:28:39 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.142 $ */
/* Copyright (c) David Cohrs, 1991 */
/* NetHack may be freely redistributed. See license for details. */
}
debugpline4("bad curs positioning win %d %s (%d,%d)", window, s, x,
y);
- return;
+ /* This return statement caused a functional difference between DEBUG and
+ non-DEBUG operation, so it is being commented out. It caused tty_curs()
+ to fail to move the cursor to the location it needed to be if the x,y
+ range checks failed, leaving the next piece of output to be displayed
+ at whatever random location the cursor happened to be at prior. */
+
+ /* return; */
}
#endif
x += cw->offx;