fix the msdos build for NetHack-3.7

This commit is contained in:
nhmall
2019-07-02 22:05:36 -04:00
parent 4b2b2d5ba1
commit efbe179f64
5 changed files with 49 additions and 30 deletions
+2 -2
View File
@@ -435,7 +435,7 @@ static void
vga_cliparound(x, y)
int x, y;
{
extern boolean restoring;
/* extern boolean g.restoring; */
int oldx = clipx;
if (!iflags.tile_view || iflags.over_view || iflags.traditional_view)
@@ -449,7 +449,7 @@ int x, y;
clipx = clipxmax - (viewport_size - 1);
}
if (clipx != oldx) {
if (on_level(&u.uz0, &u.uz) && !restoring)
if (on_level(&u.uz0, &u.uz) && !g.restoring)
/* (void) doredraw(); */
vga_redrawmap(1);
}