diff options
| -rw-r--r-- | engines/parallaction/zone.cpp | 9 | 
1 files changed, 7 insertions, 2 deletions
| diff --git a/engines/parallaction/zone.cpp b/engines/parallaction/zone.cpp index 485bec1c05..3fcbd0d08c 100644 --- a/engines/parallaction/zone.cpp +++ b/engines/parallaction/zone.cpp @@ -295,6 +295,13 @@ void Parallaction::parseZoneTypeBlock(Script &script, Zone *z) {  void Parallaction::displayCharacterComment(ExamineData *data) {  	if (data->_description == NULL) return; +	// NOTE: saving visible screen before displaying comment allows +	// to restore the exact situation after the comment is deleted. +	// This means animations are restored in the exact position as +	// they were, thus avoiding clipping effect as signalled in +	// BUG item #1762614. +	_gfx->copyScreen(Gfx::kBitFront, Gfx::kBitBack); +  	_gfx->setFont(kFontDialogue);  	_gfx->flatBlitCnv(_char._talk, 0, 190, 80, Gfx::kBitFront); @@ -305,8 +312,6 @@ void Parallaction::displayCharacterComment(ExamineData *data) {  	_gfx->drawBalloon(r, 0);  	_gfx->displayWrappedString(data->_description, 140, 10, 0, 130); -	_gfx->updateScreen(); -  	waitUntilLeftClick();  	_gfx->copyScreen(Gfx::kBitBack, Gfx::kBitFront); | 
