aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruruk2013-09-03 23:56:37 +0200
committeruruk2013-09-03 23:56:37 +0200
commit4ae897e3a95f8899b3056627f882e6179b4ebba3 (patch)
treea18bbe86c3c5775770ea988268e3756af401017c
parent212391f337a3beee1fa4d987b62fe8494ab1fc02 (diff)
downloadscummvm-rg350-4ae897e3a95f8899b3056627f882e6179b4ebba3.tar.gz
scummvm-rg350-4ae897e3a95f8899b3056627f882e6179b4ebba3.tar.bz2
scummvm-rg350-4ae897e3a95f8899b3056627f882e6179b4ebba3.zip
AVALANCHE: Repair comments in Celer.
-rw-r--r--engines/avalanche/celer2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/avalanche/celer2.cpp b/engines/avalanche/celer2.cpp
index daec21c294..acfde95374 100644
--- a/engines/avalanche/celer2.cpp
+++ b/engines/avalanche/celer2.cpp
@@ -299,7 +299,7 @@ void Celer::loadBackgroundSprites(byte number) {
_sprites[i]._type = sprite._type;
if (natural) {
- _sprites[i]._type = kNaturalImage; // We simply read from the screen and later, in display_it() we draw it right back.
+ _sprites[i]._type = kNaturalImage; // We simply read from the screen and later, in drawSprite() we draw it right back.
_sprites[i]._size = _sprites[i]._xl * 8 * _sprites[i]._yl + 1;
_sprites[i]._picture.create(_sprites[i]._xl * 8, _sprites[i]._yl + 1, ::Graphics::PixelFormat::createFormatCLUT8());
@@ -308,7 +308,7 @@ void Celer::loadBackgroundSprites(byte number) {
*(byte *)_sprites[i]._picture.getBasePtr(x, y) = *_vm->_graphics->getPixel(_sprites[i]._x * 8 + x, _sprites[i]._y + y);
} else {
_sprites[i]._size = sprite._size;
- _sprites[i]._picture = _vm->_graphics->loadPictureRow(f, _sprites[i]._xl * 8, _sprites[i]._yl + 1); // Celer::forget_chunks() deallocates it.
+ _sprites[i]._picture = _vm->_graphics->loadPictureRow(f, _sprites[i]._xl * 8, _sprites[i]._yl + 1);
}
} else
_sprites[i]._x = kOnDisk;