diff options
author | Einar Johan Trøan Sømåen | 2012-05-11 16:03:59 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-06-02 13:01:15 +0200 |
commit | ba6a2ac66ea3e679246a28e81013f7c4794ed564 (patch) | |
tree | 9e187c8259f0ad8f38b29c4d66abef675a9e7ff3 /engines/wintermute/BFader.cpp | |
parent | 2ee58d2dc3f78e03f25edf7103403ee06ba9ab7a (diff) | |
download | scummvm-rg350-ba6a2ac66ea3e679246a28e81013f7c4794ed564.tar.gz scummvm-rg350-ba6a2ac66ea3e679246a28e81013f7c4794ed564.tar.bz2 scummvm-rg350-ba6a2ac66ea3e679246a28e81013f7c4794ed564.zip |
WINTERMUTE: Run Astyle on code-files to reformat.
Diffstat (limited to 'engines/wintermute/BFader.cpp')
-rw-r--r-- | engines/wintermute/BFader.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/wintermute/BFader.cpp b/engines/wintermute/BFader.cpp index b40582318a..ae716f6d3e 100644 --- a/engines/wintermute/BFader.cpp +++ b/engines/wintermute/BFader.cpp @@ -8,12 +8,12 @@ * modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
-
+
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
-
+
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
@@ -74,7 +74,7 @@ HRESULT CBFader::Update() { else {
_currentAlpha = _sourceAlpha + (float)time / (float)_duration * AlphaDelta;
}
- _currentAlpha = MIN((unsigned char)255, MAX(_currentAlpha, (byte )0)); // TODO: clean
+ _currentAlpha = MIN((unsigned char)255, MAX(_currentAlpha, (byte)0)); // TODO: clean
_ready = time >= _duration;
if (_ready && _currentAlpha == 0x00) _active = false;
|