aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/music_node.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/zvision/music_node.cpp')
-rw-r--r--engines/zvision/music_node.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/zvision/music_node.cpp b/engines/zvision/music_node.cpp
index d47a796382..31d222aead 100644
--- a/engines/zvision/music_node.cpp
+++ b/engines/zvision/music_node.cpp
@@ -109,8 +109,7 @@ bool MusicNode::process(uint32 deltaTimeInMillis) {
deltaTimeInMillis = _crossfade_time;
_newvol += floor(((float)(_crossfade_target - _newvol) / (float)_crossfade_time)) * (float)deltaTimeInMillis;
_crossfade_time -= deltaTimeInMillis;
- }
- else {
+ } else {
_crossfade = false;
_newvol = _crossfade_target;
}