aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2013-10-05 02:16:30 +0200
committerStrangerke2013-10-05 02:16:30 +0200
commiteeabd8a0dd111437ad740477bdf80aa39d2d9663 (patch)
tree5d80902b23dc504ac33a97c489c17de383f72266
parenta357dc4d0c0416dfc9a7e3aafb7f840eee5e5d6b (diff)
downloadscummvm-rg350-eeabd8a0dd111437ad740477bdf80aa39d2d9663.tar.gz
scummvm-rg350-eeabd8a0dd111437ad740477bdf80aa39d2d9663.tar.bz2
scummvm-rg350-eeabd8a0dd111437ad740477bdf80aa39d2d9663.zip
AVALANCHE: Answer a couple of comments made by LordHoto
-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