diff options
author | johndoe123 | 2011-09-20 07:48:17 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2013-05-08 20:39:40 +0200 |
commit | 1b2d496d186c6f838526f51f7d0b3eea70a8b322 (patch) | |
tree | f662cfe080ff5fce0d08549554eb41019f78e4e7 /engines/neverhood/module2000.cpp | |
parent | 2f670690bc1febbd402a5743f400c4463af7ebc7 (diff) | |
download | scummvm-rg350-1b2d496d186c6f838526f51f7d0b3eea70a8b322.tar.gz scummvm-rg350-1b2d496d186c6f838526f51f7d0b3eea70a8b322.tar.bz2 scummvm-rg350-1b2d496d186c6f838526f51f7d0b3eea70a8b322.zip |
NEVERHOOD: Try to clean up the clipRect stuff a little
Diffstat (limited to 'engines/neverhood/module2000.cpp')
-rw-r--r-- | engines/neverhood/module2000.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/engines/neverhood/module2000.cpp b/engines/neverhood/module2000.cpp index b2e9a0ef5a..3977598726 100644 --- a/engines/neverhood/module2000.cpp +++ b/engines/neverhood/module2000.cpp @@ -133,10 +133,7 @@ Scene2001::Scene2001(NeverhoodEngine *vm, Module *parentModule, int which) _klayman->setDoDeltaX(1); } - _klayman->getSurface()->getClipRect().x1 = _class401->getSurface()->getDrawRect().x; - _klayman->getSurface()->getClipRect().y1 = 0; - _klayman->getSurface()->getClipRect().x2 = 640; - _klayman->getSurface()->getClipRect().y2 = 480; + _klayman->setClipRect(_class401->getDrawRect().x, 0, 640, 480); } |