follow-up, program_state
This commit is contained in:
@@ -794,7 +794,7 @@ vesa_cliparound(int x, int y)
|
||||
clipymax = ROWNO - 1;
|
||||
}
|
||||
if (clipx != oldx || clipy != oldy) {
|
||||
if (on_level(&u.uz0, &u.uz) && !svp.program_state.restoring)
|
||||
if (on_level(&u.uz0, &u.uz) && !program_state.restoring)
|
||||
/* (void) doredraw(); */
|
||||
vesa_redrawmap();
|
||||
}
|
||||
|
||||
@@ -472,7 +472,7 @@ vga_cliparound(int x, int y UNUSED)
|
||||
clipx = clipxmax - (viewport_size - 1);
|
||||
}
|
||||
if (clipx != oldx) {
|
||||
if (on_level(&u.uz0, &u.uz) && !svp.program_state.restoring)
|
||||
if (on_level(&u.uz0, &u.uz) && !program_state.restoring)
|
||||
/* (void) doredraw(); */
|
||||
vga_redrawmap(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user