diff options
author | Gregory Montoir | 2004-01-02 14:15:45 +0000 |
---|---|---|
committer | Gregory Montoir | 2004-01-02 14:15:45 +0000 |
commit | c7965a7a04d73f6b86cb1ef6bcdde7a4a531413c (patch) | |
tree | 81330e7204667ab49bcbcc6e5964785b874d2ff8 /queen/graphics.cpp | |
parent | f7642601fe7b708a593e1aa644d315c0429f46f4 (diff) | |
download | scummvm-rg350-c7965a7a04d73f6b86cb1ef6bcdde7a4a531413c.tar.gz scummvm-rg350-c7965a7a04d73f6b86cb1ef6bcdde7a4a531413c.tar.bz2 scummvm-rg350-c7965a7a04d73f6b86cb1ef6bcdde7a4a531413c.zip |
minor rewrite of screenblanker code
svn-id: r12086
Diffstat (limited to 'queen/graphics.cpp')
-rw-r--r-- | queen/graphics.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/queen/graphics.cpp b/queen/graphics.cpp index 5f87f18130..4205f21ba9 100644 --- a/queen/graphics.cpp +++ b/queen/graphics.cpp @@ -335,14 +335,12 @@ void Graphics::bobDraw(const BobSlot *bs, int16 x, int16 y) { src += w * y_skip; if (!bs->xflip) { src += x_skip; - _vm->display()->blit(RB_SCREEN, x, y, src, w_new, h_new, w, bs->xflip, true); } else { src += w - w_new - x_skip; x += w_new - 1; - _vm->display()->blit(RB_SCREEN, x, y, src, w_new, h_new, w, bs->xflip, true); } + _vm->display()->blit(RB_SCREEN, x, y, src, w_new, h_new, w, bs->xflip, true); } - } @@ -567,7 +565,6 @@ void Graphics::bobCustomParallax(uint16 roomNum) { break; case ROOM_INTRO_RITA_JOE_HEADS: // CR 2 - CD-Rom pan right while Rita talks... _cameraBob = -1; - debug(9, "Graphics::bobCustomParallax() - %d", screenScroll); if (screenScroll < 80) { _vm->display()->horizontalScroll(screenScroll + 4); // Joe's body and head |