aboutsummaryrefslogtreecommitdiff
path: root/engines/illusions/threads
diff options
context:
space:
mode:
authorEric Fry2018-06-28 22:50:20 +1000
committerEugene Sandulenko2018-07-20 06:43:33 +0000
commit8e43261d13a81131e0be0bfc75627f7395f78a90 (patch)
treee6f2d38900233da689bb59d3ec293f14b510a4b6 /engines/illusions/threads
parentfee1f3d8cb065182322bc80aba39a66a1b4b0cfb (diff)
downloadscummvm-rg350-8e43261d13a81131e0be0bfc75627f7395f78a90.tar.gz
scummvm-rg350-8e43261d13a81131e0be0bfc75627f7395f78a90.tar.bz2
scummvm-rg350-8e43261d13a81131e0be0bfc75627f7395f78a90.zip
ILLUSIONS: Formatting fixes
Simplified some point arithmetic Lock fixedpoint calcs to float rather than double
Diffstat (limited to 'engines/illusions/threads')
-rw-r--r--engines/illusions/threads/talkthread_duckman.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/illusions/threads/talkthread_duckman.cpp b/engines/illusions/threads/talkthread_duckman.cpp
index a2e9ebaec6..36911597ff 100644
--- a/engines/illusions/threads/talkthread_duckman.cpp
+++ b/engines/illusions/threads/talkthread_duckman.cpp
@@ -74,7 +74,7 @@ int TalkThread_Duckman::onUpdate() {
if (_vm->checkActiveTalkThreads())
return kTSYield;
_status = 3;
- // Fallthrough to status 2
+ // fall through
case 2:
talkEntry = getTalkResourceEntry(_talkId);
@@ -101,13 +101,13 @@ int TalkThread_Duckman::onUpdate() {
if (_objectId == 0 || _durationMult == 0)
_flags |= 8;
_status = 3;
- // Fallthrough to status 3
+ // fall through
case 3:
if (!(_flags & 4) && !_vm->_soundMan->isVoiceCued())
return kTSYield;
_status = 4;
- // Fallthrough to status 4
+ // fall through
case 4:
if (!(_flags & 8) ) {