aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mads/game.cpp')
-rw-r--r--engines/mads/game.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mads/game.cpp b/engines/mads/game.cpp
index 0367aa690f..d206823058 100644
--- a/engines/mads/game.cpp
+++ b/engines/mads/game.cpp
@@ -121,7 +121,7 @@ void Game::gameLoop() {
initSection(_sectionNumber);
_sectionHandler->postLoadSection();
- _scene._spriteSlots.clear(true);
+ _scene._spriteSlots.reset();
if (_sectionNumber == _currentSectionNumber) {
sectionLoop();
@@ -164,7 +164,7 @@ void Game::sectionLoop() {
if (_player._spritesLoaded)
_scene._spriteSlots.releasePlayerSprites();
_vm->_palette->resetGamePalette(18, 10);
- _scene._spriteSlots.clear(true);
+ _scene._spriteSlots.reset();
} else {
_vm->_palette->initGamePalette();
}