GRIM: Set the right engine mode when taking the savegame image.

This commit is contained in:
Giulio Camuffo 2011-08-27 19:09:06 +02:00
parent 8241f8554a
commit 938ec904c2

View File

@ -1315,7 +1315,7 @@ void GrimEngine::storeSaveGameImage(SaveGame *state) {
printf("GrimEngine::StoreSaveGameImage() started.\n");
int mode = g_grim->getMode();
g_grim->setMode(ENGINE_MODE_NORMAL);
g_grim->setMode(_previousMode);
g_grim->updateDisplayScene();
g_driver->storeDisplay();
screenshot = g_driver->getScreenshot(width, height);