aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/avalanche/graphics.cpp1
-rw-r--r--engines/avalanche/sound.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/engines/avalanche/graphics.cpp b/engines/avalanche/graphics.cpp
index 12a1cb51dc..62ac1653ba 100644
--- a/engines/avalanche/graphics.cpp
+++ b/engines/avalanche/graphics.cpp
@@ -684,6 +684,7 @@ void GraphicManager::refreshScreen() {
}
void GraphicManager::loadBackground(Common::File &file) {
+ _background.free();
_background = loadPictureRaw(file, kBackgroundWidth, kBackgroundHeight);
}
diff --git a/engines/avalanche/sound.h b/engines/avalanche/sound.h
index da2ece3b14..25b6b267d3 100644
--- a/engines/avalanche/sound.h
+++ b/engines/avalanche/sound.h
@@ -50,4 +50,4 @@ private:
} // End of namespace Avalanche
-#endif //AVALANCHE_SOUND_H
+#endif // AVALANCHE_SOUND_H