diff options
author | Eugene Sandulenko | 2005-10-05 02:01:52 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2005-10-05 02:01:52 +0000 |
commit | b332ea95ec9d892097072bfd2aaf316b3e31de7b (patch) | |
tree | 653e882ce22d8cd4cd10d00e1f2a19aacf981c7f /saga | |
parent | b76d1b36ae31a5ff5d90f36ec64f60b8eeed4155 (diff) | |
download | scummvm-rg350-b332ea95ec9d892097072bfd2aaf316b3e31de7b.tar.gz scummvm-rg350-b332ea95ec9d892097072bfd2aaf316b3e31de7b.tar.bz2 scummvm-rg350-b332ea95ec9d892097072bfd2aaf316b3e31de7b.zip |
oops. reverted last change.
svn-id: r18938
Diffstat (limited to 'saga')
-rw-r--r-- | saga/gfx.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/saga/gfx.cpp b/saga/gfx.cpp index 7895632e5e..cdad674972 100644 --- a/saga/gfx.cpp +++ b/saga/gfx.cpp @@ -203,8 +203,8 @@ void Gfx::setPalette(const PalEntry *pal, bool full) { from = 0; numcolors = PAL_ENTRIES; } else { - from = 1; - numcolors = 247; + from = 0; + numcolors = 248; } for (i = 0, ppal = &_currentPal[from * 4]; i < numcolors; i++, ppal += 4) { @@ -273,8 +273,8 @@ void Gfx::palToBlack(PalEntry *srcPal, double percent) { from = 0; numcolors = PAL_ENTRIES; } else { - from = 1; - numcolors = 247; + from = 0; + numcolors = 248; } if (percent > 1.0) { @@ -338,8 +338,8 @@ void Gfx::blackToPal(PalEntry *srcPal, double percent) { from = 0; numcolors = PAL_ENTRIES; } else { - from = 1; - numcolors = 247; + from = 0; + numcolors = 248; } if (percent > 1.0) { |