From 25fcb52d7017b49d4f17542aa99be9504fd04db2 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 31 Mar 2017 22:51:06 -0400 Subject: TITANIC: Renaming of crosshairs related code --- engines/titanic/star_control/surface_fader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/titanic/star_control/surface_fader.h') 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 -- cgit v1.2.3