fix a glitch that caused a dark game area...
...in the first dialog of the tutorial there should be a cleaner way to do this, though
This commit is contained in:
parent
9ec78d7bbc
commit
9d208abad6
1 changed files with 4 additions and 0 deletions
|
@ -571,6 +571,10 @@ void display::scroll_to_tile(int x, int y, SCROLL_TYPE scroll_type, bool check_f
|
|||
num_moves = 1;
|
||||
}
|
||||
|
||||
// this is needed for initially drawing all tiles before a dialog box
|
||||
// FIXME: this is bad, for most scrolls a needless performance penalty.
|
||||
invalidate_all();
|
||||
|
||||
for(int i = 0; i != num_moves; ++i) {
|
||||
events::pump();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue