Skip to content

Commit

Permalink
TITANIC: Fix initial display of fan control indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Jan 3, 2017
1 parent e2dba40 commit ba77ec2
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions engines/titanic/game/fan_control.cpp
Expand Up @@ -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:
Expand Down

0 comments on commit ba77ec2

Please sign in to comment.