Correct and move initial SMUSH frame rate value, for the demo version of The Dig.

svn-id: r40407
This commit is contained in:
Travis Howell 2009-05-10 06:46:24 +00:00
parent f5094553f7
commit 4f0811b129
2 changed files with 4 additions and 4 deletions

View File

@ -2455,9 +2455,6 @@ void ScummEngine_v7::o6_kernelSetFunctions() {
grabCursor(args[1], args[2], args[3], args[4]);
break;
case 6: {
if (_smushFrameRate == 0)
_smushFrameRate = 14;
// SMUSH movie playback
if (args[1] == 0) {
const char *videoname = (const char *)getStringAddressVar(VAR_VIDEONAME);

View File

@ -1207,7 +1207,10 @@ void ScummEngine::setupScumm() {
#ifdef ENABLE_SCUMM_7_8
void ScummEngine_v7::setupScumm() {
_smushFrameRate = (_game.id == GID_FT) ? 10 : 12;
if (_game.id == GID_DIG && (_game.features & GF_DEMO))
_smushFrameRate = 15;
else
_smushFrameRate = (_game.id == GID_FT) ? 10 : 12;
_musicEngine = _imuseDigital = new IMuseDigital(this, _mixer, 10);