diff options
author | James Brown | 2005-10-12 05:46:56 +0000 |
---|---|---|
committer | James Brown | 2005-10-12 05:46:56 +0000 |
commit | 706ea9db69dee1dabb12c487031592b8fd946414 (patch) | |
tree | 071d827d541da2e4b24f41b1065b8aab2c1e8b9b /scumm/script_v5.cpp | |
parent | 0b0916ca75c182ba494fb982b8f1942d131557c5 (diff) | |
download | scummvm-rg350-706ea9db69dee1dabb12c487031592b8fd946414.tar.gz scummvm-rg350-706ea9db69dee1dabb12c487031592b8fd946414.tar.bz2 scummvm-rg350-706ea9db69dee1dabb12c487031592b8fd946414.zip |
Reverted default case error in o5_resourceRoutines to a warning, in order to workaround a fatal error in zak256 caused by a botched script load. See bug #1290485
svn-id: r19030
Diffstat (limited to 'scumm/script_v5.cpp')
-rw-r--r-- | scumm/script_v5.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scumm/script_v5.cpp b/scumm/script_v5.cpp index 5feb919262..6d40de6bc9 100644 --- a/scumm/script_v5.cpp +++ b/scumm/script_v5.cpp @@ -1820,7 +1820,9 @@ void ScummEngine_v5::o5_resourceRoutines() { break; default: - error("o5_resourceRoutines: default case %d", op); + // FIXME: Reverted to a warning from an error, as per + // zak256 bug #1290485. This is not a proper fix. :) + warning("o5_resourceRoutines: default case %d", op); } } |