diff options
author | Paul Gilbert | 2017-01-03 17:34:23 -0500 |
---|---|---|
committer | Paul Gilbert | 2017-01-03 17:34:23 -0500 |
commit | ba77ec28b99394540d5871f45d61e4ac432cf1b9 (patch) | |
tree | 5bee6ca2687aee93d005b2687cf56ae1a8245cbd /engines/titanic | |
parent | e2dba404a611fd33c522c4a462c4493ce0a52208 (diff) | |
download | scummvm-rg350-ba77ec28b99394540d5871f45d61e4ac432cf1b9.tar.gz scummvm-rg350-ba77ec28b99394540d5871f45d61e4ac432cf1b9.tar.bz2 scummvm-rg350-ba77ec28b99394540d5871f45d61e4ac432cf1b9.zip |
TITANIC: Fix initial display of fan control indicator
Diffstat (limited to 'engines/titanic')
-rw-r--r-- | engines/titanic/game/fan_control.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/engines/titanic/game/fan_control.cpp b/engines/titanic/game/fan_control.cpp index 823bf946d4..ca664764ea 100644 --- a/engines/titanic/game/fan_control.cpp +++ b/engines/titanic/game/fan_control.cpp @@ -149,16 +149,20 @@ bool CFanControl::StatusChangeMsg(CStatusChangeMsg *msg) { bool CFanControl::EnterViewMsg(CEnterViewMsg *msg) { switch (_state) { - case 0: + case -1: + // Fan off loadFrame(6); break; - case 1: + case 0: + // Low speed loadFrame(4); break; - case 2: + case 1: + // Medium speed loadFrame(0); break; - case 3: + case 2: + // High speed loadFrame(18); break; default: |