aboutsummaryrefslogtreecommitdiff
path: root/engines/pegasus/transition.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/pegasus/transition.cpp')
-rw-r--r--engines/pegasus/transition.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/pegasus/transition.cpp b/engines/pegasus/transition.cpp
index 1ae212df85..b736b115ee 100644
--- a/engines/pegasus/transition.cpp
+++ b/engines/pegasus/transition.cpp
@@ -70,7 +70,7 @@ void ScreenFader::setFaderValue(const int32 value) {
if (value != getFaderValue()) {
Fader::setFaderValue(value);
- if (_screen->pixels) {
+ if (_screen->getPixels()) {
// The original game does a gamma fade here using the Mac API. In order to do
// that, it would require an immense amount of CPU processing. This does a
// linear fade instead, which looks fairly well, IMO.