diff options
author | Max Horn | 2004-07-05 01:33:51 +0000 |
---|---|---|
committer | Max Horn | 2004-07-05 01:33:51 +0000 |
commit | 9160374f238ccffde8d300cf37415d2b6beeb35f (patch) | |
tree | d417d61b0f9d7b4012b640fe153ad84b9dda19b6 | |
parent | 5b7157e3c9c8809b20171e1bfb5170847944759c (diff) | |
download | scummvm-rg350-9160374f238ccffde8d300cf37415d2b6beeb35f.tar.gz scummvm-rg350-9160374f238ccffde8d300cf37415d2b6beeb35f.tar.bz2 scummvm-rg350-9160374f238ccffde8d300cf37415d2b6beeb35f.zip |
Get rid of old hack (possible thanks to Kirbens recent change to the createBoxMatrix opcode)
svn-id: r14168
-rw-r--r-- | scumm/scumm.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/scumm/scumm.cpp b/scumm/scumm.cpp index 98c69325f8..7a0d79b648 100644 --- a/scumm/scumm.cpp +++ b/scumm/scumm.cpp @@ -2244,23 +2244,6 @@ void ScummEngine::startScene(int room, Actor *a, int objectNr) { a->moving = 0; } } else if (_version >= 7) { - if ((_gameId == GID_DIG) && a) { - // FIXME: This hack mostly is there to fix the tomb/statue room - // in The Dig. What happens there is that when you enter, you are - // placed at object 399, coords (307,141), which is in box 25. - // But then the entry script locks that and other boxes. Hence - // after the entry script runs, you basically can only do one thing - // in that room, and that is to leave it - which means the game - // is unfinishable. - // By calling adjustActorPos, we can solve the problem in this case: - // there is a very close box (box 12) which contains point (307,144). - // If we call adjustActorPos, Commander Low is moved into that box, - // and we can go on. But aqudran looked this up in his IMB DB for - // The DIG; and nothing like this is done there. Also I am pretty - // sure this used to work in 0.3.1. So apparently something broke - // down here, and I have no clue what that might be :-/ - a->adjustActorPos(); - } if (camera._follows) { a = derefActor(camera._follows, "startScene: follows"); setCameraAt(a->_pos.x, a->_pos.y); |