aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/music_node.cpp
diff options
context:
space:
mode:
authorMarisa-Chan2014-02-24 20:37:58 +0700
committerMarisa-Chan2014-02-24 20:37:58 +0700
commit6210ead126ea81727e6a68398366c4cbe8da9e79 (patch)
tree29cdf57d3d6f269bee104716a9e771b7417fd253 /engines/zvision/music_node.cpp
parentcb2503aa9dd5d76a12aaf0522ddea810907a97a5 (diff)
downloadscummvm-rg350-6210ead126ea81727e6a68398366c4cbe8da9e79.tar.gz
scummvm-rg350-6210ead126ea81727e6a68398366c4cbe8da9e79.tar.bz2
scummvm-rg350-6210ead126ea81727e6a68398366c4cbe8da9e79.zip
ZVISION: Fix wrong style.
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;
}