[Scummvm-git-logs] scummvm master -> 5eff8ab961ae3f09b8f612939b55d9c90441966c

dreammaster dreammaster at scummvm.org
Sat Aug 19 02:22:38 CEST 2017


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
5eff8ab961 TITANIC: Fix toggling fan speed from very fast down to slow


Commit: 5eff8ab961ae3f09b8f612939b55d9c90441966c
    https://github.com/scummvm/scummvm/commit/5eff8ab961ae3f09b8f612939b55d9c90441966c
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2017-08-18T20:22:34-04:00

Commit Message:
TITANIC: Fix toggling fan speed from very fast down to slow

Changed paths:
    engines/titanic/game/fan_control.cpp


diff --git a/engines/titanic/game/fan_control.cpp b/engines/titanic/game/fan_control.cpp
index 7ed22fd..fc99bd8 100644
--- a/engines/titanic/game/fan_control.cpp
+++ b/engines/titanic/game/fan_control.cpp
@@ -107,7 +107,7 @@ bool CFanControl::StatusChangeMsg(CStatusChangeMsg *msg) {
 			case 2:
 				// Fan Speed button
 				if (_fanOn) {
-					_state = (_state + 1) % 4;
+					_state = (_state + 1) % 3;
 					switch (_state) {
 					case 0:
 						playMovie(18, 24, 0);





More information about the Scummvm-git-logs mailing list