aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/drascula/graphics.cpp6
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++) {