diff options
| author | Robert Göffringmann | 2003-07-07 17:00:55 +0000 | 
|---|---|---|
| committer | Robert Göffringmann | 2003-07-07 17:00:55 +0000 | 
| commit | d33d562ce598cf14af7cfc7cc75356e109dbfbad (patch) | |
| tree | c71db02e169c600e678a7423d79eda9603601978 | |
| parent | b53435dfce518d81e1c4590e7afeb5442734554b (diff) | |
| download | scummvm-rg350-d33d562ce598cf14af7cfc7cc75356e109dbfbad.tar.gz scummvm-rg350-d33d562ce598cf14af7cfc7cc75356e109dbfbad.tar.bz2 scummvm-rg350-d33d562ce598cf14af7cfc7cc75356e109dbfbad.zip | |
button text for save and restore doesn't disappear anymore.
+ fixed screen updates for swing seqs.
svn-id: r8844
| -rw-r--r-- | sky/control.cpp | 1 | ||||
| -rw-r--r-- | sky/screen.cpp | 2 | 
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++) { | 
