aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sky/control.cpp1
-rw-r--r--sky/screen.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/sky/control.cpp b/sky/control.cpp
index 9affc5c40a..cafe1e210d 100644
--- a/sky/control.cpp
+++ b/sky/control.cpp
@@ -782,6 +782,7 @@ uint16 SkyControl::saveRestorePanel(bool allowSave) {
while (!quitPanel) {
if (refreshNames || refreshAll) {
if (refreshAll) {
+ _text->flushForRedraw();
_savePanel->drawToScreen(NO_MASK);
_quitButton->drawToScreen(NO_MASK);
}
diff --git a/sky/screen.cpp b/sky/screen.cpp
index 2261fd32e3..4ab30dafc9 100644
--- a/sky/screen.cpp
+++ b/sky/screen.cpp
@@ -421,7 +421,7 @@ void SkyScreen::processSequence(void) {
_seqInfo.seqDataPos++;
uint8 gridSta = (uint8)((screenPos / (GAME_SCREEN_WIDTH * 16))*20 + ((screenPos % GAME_SCREEN_WIDTH) >> 4));
- uint8 gridEnd = (uint8)(((screenPos+nrToDo+15) / (GAME_SCREEN_WIDTH * 16))*20 + (((screenPos+nrToDo+15) % GAME_SCREEN_WIDTH) >> 4));
+ uint8 gridEnd = (uint8)(((screenPos+nrToDo) / (GAME_SCREEN_WIDTH * 16))*20 + (((screenPos+nrToDo) % GAME_SCREEN_WIDTH) >> 4));
for (cnt = gridSta; cnt <= gridEnd; cnt++)
_seqGrid[cnt] = 1;
for (cnt = 0; cnt < nrToDo; cnt++) {