diff options
author | James Brown | 2002-05-29 12:30:22 +0000 |
---|---|---|
committer | James Brown | 2002-05-29 12:30:22 +0000 |
commit | ba6c570e20f824c3d17479e4fbcd7b2eb61f3dd7 (patch) | |
tree | 590eefef7f7ee963df55de7ade8fb954d04bb541 | |
parent | eb42e28c0a1b5084a6ef5782252ed137540e9529 (diff) | |
download | scummvm-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
-rw-r--r-- | simon/simon.cpp | 6 |
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); |