diff options
| author | uruk | 2014-07-29 16:13:29 +0200 | 
|---|---|---|
| committer | uruk | 2014-07-29 16:13:29 +0200 | 
| commit | b33653000da25846bebe7a76c26337d49743884d (patch) | |
| tree | ba3c6d6aa0063eb4c747878357382c16d00837e0 | |
| parent | e51888d9cef36d8d9a329abbbd9198aaa555e7e4 (diff) | |
| download | scummvm-rg350-b33653000da25846bebe7a76c26337d49743884d.tar.gz scummvm-rg350-b33653000da25846bebe7a76c26337d49743884d.tar.bz2 scummvm-rg350-b33653000da25846bebe7a76c26337d49743884d.zip | |
CGE2: Fix saving of moving heroes.
| -rw-r--r-- | engines/cge2/saveload.cpp | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/engines/cge2/saveload.cpp b/engines/cge2/saveload.cpp index c505358973..652dbea1ec 100644 --- a/engines/cge2/saveload.cpp +++ b/engines/cge2/saveload.cpp @@ -230,6 +230,11 @@ void CGE2Engine::writeSavegameHeader(Common::OutSaveFile *out, SavegameHeader &h  	uint8 thumbPalette[256 * 3];  	g_system->getPaletteManager()->grabPalette(thumbPalette, 0, 256); +	// Stop the heroes from moving and redraw them before taking the picture. +	for (int i = 0; i < 2; i++) +		_heroTab[i]->_ptr->park(); +	_vga->show(); +	  	// Create a thumbnail and save it  	Graphics::Surface *thumb = new Graphics::Surface();  	Graphics::Surface *s = _vga->_page[0]; | 
