mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-23 11:04:44 +00:00
GRIM: Don't draw the entire Iris when a movie is played. Fixes #293
This commit is contained in:
parent
1427f47dd1
commit
8e9b915c76
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user