diff options
author | Ľubomír Remák | 2018-08-04 16:57:41 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2018-08-25 23:12:01 +0200 |
commit | a25715a29b0587ae6795eef63a575172e2cb971d (patch) | |
tree | b10acdeffd001f507209799498a6e9f90a585e06 /engines/mutationofjb/animationdecoder.cpp | |
parent | 6ff609c51478c07a00018e57d8149f09d97677e7 (diff) | |
download | scummvm-rg350-a25715a29b0587ae6795eef63a575172e2cb971d.tar.gz scummvm-rg350-a25715a29b0587ae6795eef63a575172e2cb971d.tar.bz2 scummvm-rg350-a25715a29b0587ae6795eef63a575172e2cb971d.zip |
MUTATIONOFJB: Fix code formatting issues (with astyle).
Diffstat (limited to 'engines/mutationofjb/animationdecoder.cpp')
-rw-r--r-- | engines/mutationofjb/animationdecoder.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mutationofjb/animationdecoder.cpp b/engines/mutationofjb/animationdecoder.cpp index 81323858ee..712cb42c97 100644 --- a/engines/mutationofjb/animationdecoder.cpp +++ b/engines/mutationofjb/animationdecoder.cpp @@ -114,7 +114,7 @@ void AnimationDecoder::loadPalette(Common::SeekableReadStream &file) { copyCount = PALETTE_COLORS; } - while(packets--) { + while (packets--) { file.read(_palette + skipCount * 3, copyCount * 3); for (int j = skipCount * 3; j < (skipCount + copyCount) * 3; ++j) { @@ -145,7 +145,7 @@ void AnimationDecoder::loadFullFrame(EncryptedFile &file, uint32 size) { // RLE - Copy color n times. uint8 color = file.readByte(); readBytes++; - while(n--) { + while (n--) { *ptr++ = color; } } else { |