diff options
Diffstat (limited to 'engines/gob')
-rw-r--r-- | engines/gob/draw_playtoons.cpp | 4 | ||||
-rw-r--r-- | engines/gob/global.cpp | 2 | ||||
-rw-r--r-- | engines/gob/sound/adlib.cpp | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/engines/gob/draw_playtoons.cpp b/engines/gob/draw_playtoons.cpp index f32c42ec43..edd7b76318 100644 --- a/engines/gob/draw_playtoons.cpp +++ b/engines/gob/draw_playtoons.cpp @@ -219,8 +219,8 @@ void Draw_Playtoons::spriteOperation(int16 operation) { break; default: warning("oPlaytoons_spriteOperation: operation DRAW_DRAWLINE, draw %d lines", (_pattern & 0xFF) * (_pattern & 0xFF)); - for (int16 i = 0; i <= _pattern ; i++) - for (int16 j = 0; j <= _pattern ; j++) + for (int16 i = 0; i <= _pattern; i++) + for (int16 j = 0; j <= _pattern; j++) _spritesArray[_destSurface]->drawLine( _destSpriteX - (_pattern / 2) + i, _destSpriteY - (_pattern / 2) + j, diff --git a/engines/gob/global.cpp b/engines/gob/global.cpp index 0fcbddf410..8b8fb3d4c9 100644 --- a/engines/gob/global.cpp +++ b/engines/gob/global.cpp @@ -88,7 +88,7 @@ Global::Global(GobEngine *vm) : _vm(vm) { _unusedPalette1[16] = (int16) 0xAAAA; _unusedPalette1[17] = (int16) 0xFFFF; - for (int i = 0; i < 16 ;i++) + for (int i = 0; i < 16; i++) _unusedPalette2[i] = i; _vgaPalette[ 0].red = 0x00; _vgaPalette[ 0].green = 0x00; _vgaPalette[ 0].blue = 0x00; diff --git a/engines/gob/sound/adlib.cpp b/engines/gob/sound/adlib.cpp index d643ae511b..f070bf14fa 100644 --- a/engines/gob/sound/adlib.cpp +++ b/engines/gob/sound/adlib.cpp @@ -736,7 +736,7 @@ void MDYPlayer::setVoices() { _tbrStart = READ_LE_UINT16(timbrePtr); timbrePtr += 2; - for (int i = 0; i < _tbrCount ; i++) + for (int i = 0; i < _tbrCount; i++) setVoice(i, i, true); } |