aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game
diff options
context:
space:
mode:
authorPaul Gilbert2016-10-29 21:48:10 -0400
committerPaul Gilbert2016-10-29 21:48:10 -0400
commit64e4aac26a7a3863708b1d01ce2bb7394861d538 (patch)
treee4fd8f6519f5529ceab69c55eb66f5ce4eb3c5b5 /engines/titanic/game
parent2e2e0df346eb668aba5f7a3376a20c4619984fed (diff)
downloadscummvm-rg350-64e4aac26a7a3863708b1d01ce2bb7394861d538.tar.gz
scummvm-rg350-64e4aac26a7a3863708b1d01ce2bb7394861d538.tar.bz2
scummvm-rg350-64e4aac26a7a3863708b1d01ce2bb7394861d538.zip
TITANIC: Fix pressing buttons in Service Elevator
Diffstat (limited to 'engines/titanic/game')
-rw-r--r--engines/titanic/game/transport/service_elevator.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/titanic/game/transport/service_elevator.cpp b/engines/titanic/game/transport/service_elevator.cpp
index 066a418dbb..0e88e135d3 100644
--- a/engines/titanic/game/transport/service_elevator.cpp
+++ b/engines/titanic/game/transport/service_elevator.cpp
@@ -207,10 +207,10 @@ bool CServiceElevator::ServiceElevatorFloorRequestMsg(CServiceElevatorFloorReque
if (doorbot && _v3 == 0) {
_soundHandle1 = playSound("z#415.wav", 50);
- addTimer(1, 1000, 500);
+ _timerId = addTimer(1, 1000, 500);
} else if (doorbot && _v3 == 1) {
_soundHandle1 = playSound("z#417.wav", 50);
- addTimer(1, 1000, 500);
+ _timerId = addTimer(1, 1000, 500);
} else if (_fieldDC == _v3) {
switch (_v3) {
case 0:
@@ -226,7 +226,7 @@ bool CServiceElevator::ServiceElevatorFloorRequestMsg(CServiceElevatorFloorReque
break;
}
- addTimer(1, 1000, 500);
+ _timerId = addTimer(1, 1000, 500);
} else {
switch (_v3) {
case 0:
@@ -242,7 +242,7 @@ bool CServiceElevator::ServiceElevatorFloorRequestMsg(CServiceElevatorFloorReque
break;
}
- addTimer(0, 1000, 500);
+ _timerId = addTimer(0, 1000, 500);
}
return true;