fix the msdos build for NetHack-3.7
This commit is contained in:
+2
-2
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user