GRIM: Don't draw the entire Iris when a movie is played. Fixes #293

This commit is contained in:
Einar Johan T. Sømåen 2011-07-26 15:10:20 +02:00
parent 1427f47dd1
commit 8e9b915c76

View File

@ -23,6 +23,7 @@
#include "engines/grim/iris.h"
#include "engines/grim/gfx_base.h"
#include "engines/grim/savegame.h"
#include "engines/grim/grim.h"
namespace Grim {
@ -46,7 +47,7 @@ void Iris::play(Iris::Direction dir, int x, int y, int lenght) {
void Iris::draw() {
if (!_playing) {
if (_direction == Close) {
if (_direction == Close && g_grim->getMode() != ENGINE_MODE_SMUSH) {
g_driver->dimRegion(0, 0, 640, 479, 0);
}
return;