aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/graphics.cpp
diff options
context:
space:
mode:
authorStrangerke2013-10-04 17:40:24 +0200
committerStrangerke2013-10-04 17:40:24 +0200
commit89559e07a3b337a27798aedb1ef64f257fdfe649 (patch)
treeb5e6f6905c85868cf779ef531a3fbf21621d9c58 /engines/avalanche/graphics.cpp
parent493c02ae224c0ce2f2d095e380c279ff1311a558 (diff)
downloadscummvm-rg350-89559e07a3b337a27798aedb1ef64f257fdfe649.tar.gz
scummvm-rg350-89559e07a3b337a27798aedb1ef64f257fdfe649.tar.bz2
scummvm-rg350-89559e07a3b337a27798aedb1ef64f257fdfe649.zip
AVALANCHE: Remove file variable from AvalancheEngine
Diffstat (limited to 'engines/avalanche/graphics.cpp')
-rw-r--r--engines/avalanche/graphics.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/avalanche/graphics.cpp b/engines/avalanche/graphics.cpp
index 5e17dcda3e..b3eeed5056 100644
--- a/engines/avalanche/graphics.cpp
+++ b/engines/avalanche/graphics.cpp
@@ -90,10 +90,11 @@ void GraphicManager::init() {
* Load the scoring digits & rwlites
* @remarks Originally called 'load_digits'
*/
-void GraphicManager::loadDigits(Common::File &file) {
+void GraphicManager::loadDigits() {
const byte digitsize = 134;
const byte rwlitesize = 126;
+ Common::File file;
if (!file.open("digit.avd"))
error("AVALANCHE: File not found: digit.avd");