aboutsummaryrefslogtreecommitdiff
path: root/simon
diff options
context:
space:
mode:
authorJames Brown2002-05-29 12:30:22 +0000
committerJames Brown2002-05-29 12:30:22 +0000
commitba6c570e20f824c3d17479e4fbcd7b2eb61f3dd7 (patch)
tree590eefef7f7ee963df55de7ade8fb954d04bb541 /simon
parenteb42e28c0a1b5084a6ef5782252ed137540e9529 (diff)
downloadscummvm-rg350-ba6c570e20f824c3d17479e4fbcd7b2eb61f3dd7.tar.gz
scummvm-rg350-ba6c570e20f824c3d17479e4fbcd7b2eb61f3dd7.tar.bz2
scummvm-rg350-ba6c570e20f824c3d17479e4fbcd7b2eb61f3dd7.zip
Fix bug 558589. This shouldn't happen anyway, as 1641.VGA seems to be the video data for 'wearing' the beard... I suspect some people just have bad rips of the game.
svn-id: r4387
Diffstat (limited to 'simon')
-rw-r--r--simon/simon.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp
index ce05f73b66..1e012df780 100644
--- a/simon/simon.cpp
+++ b/simon/simon.cpp
@@ -7631,8 +7631,10 @@ void SimonState::read_vga_from_datfile_1(uint vga_id) {
sprintf(buf, "%.3d%d.VGA", vga_id>>1, (vga_id&1)+1);
in = fopen_maybe_lowercase(buf);
- if (in==NULL)
- error("read_vga_from_datfile_1: cannot open %s", buf);
+ if (in==NULL) {
+ warning("read_vga_from_datfile_1: cannot open %s", buf);
+ return;
+ }
fseek(in, 0, SEEK_END);
size = ftell(in);