follow up for code-reordering in flush_screen()
This commit is contained in:
+3
-2
@@ -1859,6 +1859,9 @@ flush_screen(int cursor_on_u)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
display_nhwindow(WIN_MAP, FALSE);
|
||||||
|
reset_glyph_bbox();
|
||||||
|
|
||||||
/* get this done now, before we place the cursor on the hero */
|
/* get this done now, before we place the cursor on the hero */
|
||||||
if (g.context.botl || g.context.botlx)
|
if (g.context.botl || g.context.botlx)
|
||||||
bot();
|
bot();
|
||||||
@@ -1868,8 +1871,6 @@ flush_screen(int cursor_on_u)
|
|||||||
/* This needs to be the final thing done in flush_screen */
|
/* This needs to be the final thing done in flush_screen */
|
||||||
if (cursor_on_u)
|
if (cursor_on_u)
|
||||||
curs(WIN_MAP, u.ux, u.uy); /* move cursor to the hero */
|
curs(WIN_MAP, u.ux, u.uy); /* move cursor to the hero */
|
||||||
display_nhwindow(WIN_MAP, FALSE);
|
|
||||||
reset_glyph_bbox();
|
|
||||||
flushing = 0;
|
flushing = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user