aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/star_control/surface_fader.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/star_control/surface_fader.h')
-rw-r--r--engines/titanic/star_control/surface_fader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/star_control/surface_fader.h b/engines/titanic/star_control/surface_fader.h
index f562197f15..3d962b2729 100644
--- a/engines/titanic/star_control/surface_fader.h
+++ b/engines/titanic/star_control/surface_fader.h
@@ -70,7 +70,7 @@ public:
/**
* Returns true if a fade is in progress
*/
- bool isActive() const { return _index != -1 && _index < _count; }
+ bool isActive() const { return _index >= 0 && _index < _count; }
};
} // End of namespace Titanic