aboutsummaryrefslogtreecommitdiff
path: root/engines/sludge/backdrop.cpp
diff options
context:
space:
mode:
authoryinsimei2017-06-06 09:01:46 +0200
committerEugene Sandulenko2017-07-13 18:27:45 +0200
commit78cba75570115cf598a0c6c27a660f1ae0e985d6 (patch)
treefb7c0de9d508ef975ccefa0006fbc2c49985acfa /engines/sludge/backdrop.cpp
parent839e7fb4d2d51c6abd38d1cc56a2d2cbd346d710 (diff)
downloadscummvm-rg350-78cba75570115cf598a0c6c27a660f1ae0e985d6.tar.gz
scummvm-rg350-78cba75570115cf598a0c6c27a660f1ae0e985d6.tar.bz2
scummvm-rg350-78cba75570115cf598a0c6c27a660f1ae0e985d6.zip
SLUDGE: change pixel formats to pointers and fix seg fault
Diffstat (limited to 'engines/sludge/backdrop.cpp')
-rw-r--r--engines/sludge/backdrop.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/sludge/backdrop.cpp b/engines/sludge/backdrop.cpp
index 42b1c99a52..850a23d1ef 100644
--- a/engines/sludge/backdrop.cpp
+++ b/engines/sludge/backdrop.cpp
@@ -69,7 +69,9 @@ int cameraPX = 0, cameraPY = 0;
unsigned int sceneWidth, sceneHeight;
int lightMapNumber;
-unsigned int currentBlankColour = g_sludge->getOrigPixelFormat().RGBToColor(0, 0, 0);
+#if 0
+unsigned int currentBlankColour = g_sludge->getOrigPixelFormat()->RGBToColor(0, 0, 0);
+#endif
extern int cameraX, cameraY;
extern float cameraZoom;