diff options
author | Filippos Karapetis | 2008-08-26 10:59:59 +0000 |
---|---|---|
committer | Filippos Karapetis | 2008-08-26 10:59:59 +0000 |
commit | d431bfa1370e1430c5afb03f85a815ed9ca1a125 (patch) | |
tree | f0b4799c24e08567f7b99841ce4b2e9a7f393a11 /engines | |
parent | dbbfaa4c83fda6a76271099dca8565ef0f6e9904 (diff) | |
download | scummvm-rg350-d431bfa1370e1430c5afb03f85a815ed9ca1a125.tar.gz scummvm-rg350-d431bfa1370e1430c5afb03f85a815ed9ca1a125.tar.bz2 scummvm-rg350-d431bfa1370e1430c5afb03f85a815ed9ca1a125.zip |
Removed some unneeded sanity checks that have been introduced with the latest cleanups
svn-id: r34183
Diffstat (limited to 'engines')
-rw-r--r-- | engines/drascula/graphics.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/engines/drascula/graphics.cpp b/engines/drascula/graphics.cpp index 3335dc920c..cde9dcca4d 100644 --- a/engines/drascula/graphics.cpp +++ b/engines/drascula/graphics.cpp @@ -146,12 +146,6 @@ void DrasculaEngine::showFrame(bool firstFrame) { void DrasculaEngine::copyBackground(int xorg, int yorg, int xdes, int ydes, int width, int height, byte *src, byte *dest) { - if (src == 0) - src = bgSurface; - - if (dest == 0) - dest = screenSurface; - dest += xdes + ydes * 320; src += xorg + yorg * 320; for (int x = 0; x < height; x++) { |