diff options
Diffstat (limited to 'engines/avalanche/animation.cpp')
-rw-r--r-- | engines/avalanche/animation.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/avalanche/animation.cpp b/engines/avalanche/animation.cpp index 615bf94d40..57353255db 100644 --- a/engines/avalanche/animation.cpp +++ b/engines/avalanche/animation.cpp @@ -55,10 +55,8 @@ void AnimationType::init(byte spritenum, bool doCheck, Animation *anim) { Common::File inf; Common::String filename = Common::String::format("sprite%d.avd", spritenum); - if (!inf.open(filename)) { - warning("AVALANCHE: Trip: File not found: %s", filename.c_str()); - return; - } + if (!inf.open(filename)) + error("AVALANCHE: Trip: File not found: %s", filename.c_str()); inf.seek(177); |