diff options
author | Eugene Sandulenko | 2005-05-14 23:28:22 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2005-05-14 23:28:22 +0000 |
commit | 80ee8188d3d7fdd43c36a47fa68283ee78f9e8dd (patch) | |
tree | 61a692342f0c6762919d3701811438d77991c5f7 /scumm/resource.cpp | |
parent | 3588b96d4fc6c1100a01f21987f34dab9c0e97bf (diff) | |
download | scummvm-rg350-80ee8188d3d7fdd43c36a47fa68283ee78f9e8dd.tar.gz scummvm-rg350-80ee8188d3d7fdd43c36a47fa68283ee78f9e8dd.tar.bz2 scummvm-rg350-80ee8188d3d7fdd43c36a47fa68283ee78f9e8dd.zip |
Improvements to --disable-* stuff. Now less ugly #ifdefs with #includes.
svn-id: r18100
Diffstat (limited to 'scumm/resource.cpp')
-rw-r--r-- | scumm/resource.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scumm/resource.cpp b/scumm/resource.cpp index 2ac7d110df..f38483dbd2 100644 --- a/scumm/resource.cpp +++ b/scumm/resource.cpp @@ -256,6 +256,7 @@ void ScummEngine::askForDisk(const char *filename, int disknum) { char buf[128]; if (_version == 8) { +#ifndef DISABLE_SCUMM_7_8 char result; _imuseDigital->stopAllSounds(); @@ -270,6 +271,7 @@ void ScummEngine::askForDisk(const char *filename, int disknum) { if (!result) { error("Cannot find file: '%s'", filename); } +#endif } else { sprintf(buf, "Cannot find file: '%s'", filename); InfoDialog dialog(this, (char*)buf); |