diff options
author | Travis Howell | 2004-08-18 10:41:39 +0000 |
---|---|---|
committer | Travis Howell | 2004-08-18 10:41:39 +0000 |
commit | 98aeb40968f1d0d94ebc081c439361a4f56da65e (patch) | |
tree | c5d0e03eb4be1bf2793085ce68953a93bd7e3a7e /scumm | |
parent | 0b6a19d25dfbeebf8ed85bc83e9dc1621f8b55b4 (diff) | |
download | scummvm-rg350-98aeb40968f1d0d94ebc081c439361a4f56da65e.tar.gz scummvm-rg350-98aeb40968f1d0d94ebc081c439361a4f56da65e.tar.bz2 scummvm-rg350-98aeb40968f1d0d94ebc081c439361a4f56da65e.zip |
Causes name to be lost in the Dig too.
Only scumm6 games originally used this method.
svn-id: r14640
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/script.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script.cpp b/scumm/script.cpp index ee244ef5af..ac6c498082 100644 --- a/scumm/script.cpp +++ b/scumm/script.cpp @@ -873,7 +873,7 @@ void ScummEngine::killScriptsAndResources() { // We can delete custom name resources if either the object is // no longer in use (i.e. not owned by anyone anymore); or if // it is an object which is owned by a room. - if (owner == 0 || (_version < 8 && owner == OF_OWNER_ROOM)) { + if (owner == 0 || (_version < 7 && owner == OF_OWNER_ROOM)) { // WORKAROUND for a problem mentioned in bug report #941275: // In FOA in the sentry room, in the chest plate of the statue, // the pegs may be renamed to mouth: this custom name is lost |