diff options
author | Max Horn | 2002-11-22 21:08:37 +0000 |
---|---|---|
committer | Max Horn | 2002-11-22 21:08:37 +0000 |
commit | de4c3079ca63c33129b33f0adebc35cda98ede2b (patch) | |
tree | 46436e27d3c0a096dfbc65520b3e7d9e1b520027 /scumm/gfx.cpp | |
parent | 0506ef9b84bbfe12fec7ab5e166413848e0e35ca (diff) | |
download | scummvm-rg350-de4c3079ca63c33129b33f0adebc35cda98ede2b.tar.gz scummvm-rg350-de4c3079ca63c33129b33f0adebc35cda98ede2b.tar.bz2 scummvm-rg350-de4c3079ca63c33129b33f0adebc35cda98ede2b.zip |
cleanup
svn-id: r5694
Diffstat (limited to 'scumm/gfx.cpp')
-rw-r--r-- | scumm/gfx.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp index a8c99c28fd..617b3f6fac 100644 --- a/scumm/gfx.cpp +++ b/scumm/gfx.cpp @@ -713,7 +713,7 @@ void Scumm::fadeIn(int effect) _screenEffectFlag = true; } -void Scumm::fadeOut(int a) +void Scumm::fadeOut(int effect) { VirtScreen *vs; @@ -725,7 +725,7 @@ void Scumm::fadeOut(int a) return; _screenEffectFlag = false; - if (a == 0) + if (effect == 0) return; // Fill screen 0 with black @@ -734,12 +734,12 @@ void Scumm::fadeOut(int a) memset(gdi._backbuff_ptr, 0, vs->size); // Fade to black with the specified effect, if any. - switch (a) { + switch (effect) { case 1: case 2: case 3: case 4: - transitionEffect(a - 1); + transitionEffect(effect - 1); break; case 128: unkScreenEffect6(); @@ -756,7 +756,7 @@ void Scumm::fadeOut(int a) unkScreenEffect5(1); break; default: - warning("fadeOut: default case %d", a); + warning("fadeOut: default case %d", effect); } } |