aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2008-06-08 11:26:48 +0000
committerFilippos Karapetis2008-06-08 11:26:48 +0000
commitdcde2f7a9670b399f617f5599d0ba7e4dd6bfcc0 (patch)
tree2df1be75925566796d6c0bd74b998664c1cc51fb /engines
parent5880defea4cdc3ea8e621769c34f46be724c6e66 (diff)
downloadscummvm-rg350-dcde2f7a9670b399f617f5599d0ba7e4dd6bfcc0.tar.gz
scummvm-rg350-dcde2f7a9670b399f617f5599d0ba7e4dd6bfcc0.tar.bz2
scummvm-rg350-dcde2f7a9670b399f617f5599d0ba7e4dd6bfcc0.zip
The pendulumSurface pointer is only used in update_102()
svn-id: r32614
Diffstat (limited to 'engines')
-rw-r--r--engines/drascula/drascula.cpp2
-rw-r--r--engines/drascula/drascula.h1
-rw-r--r--engines/drascula/rooms.cpp1
3 files changed, 1 insertions, 3 deletions
diff --git a/engines/drascula/drascula.cpp b/engines/drascula/drascula.cpp
index d014f2e791..b041bddbf6 100644
--- a/engines/drascula/drascula.cpp
+++ b/engines/drascula/drascula.cpp
@@ -189,8 +189,6 @@ int DrasculaEngine::go() {
actorFrames[kFramePendulum] = 0;
flag_tv = 0;
- pendulumSurface = drawSurface3;
-
loadPic(96, frontSurface, COMPLETE_PAL);
loadPic(99, backSurface);
loadPic(97, extraSurface);
diff --git a/engines/drascula/drascula.h b/engines/drascula/drascula.h
index 08aa44ce58..5d0636d27d 100644
--- a/engines/drascula/drascula.h
+++ b/engines/drascula/drascula.h
@@ -286,7 +286,6 @@ public:
byte *screenSurface;
byte *frontSurface;
byte *textSurface;
- byte *pendulumSurface;
byte *AuxBuffOrg;
byte *AuxBuffDes;
byte *pointer;
diff --git a/engines/drascula/rooms.cpp b/engines/drascula/rooms.cpp
index 8f1837f995..48b5446296 100644
--- a/engines/drascula/rooms.cpp
+++ b/engines/drascula/rooms.cpp
@@ -1435,6 +1435,7 @@ void DrasculaEngine::update_62() {
void DrasculaEngine::update_102() {
int pendulum_x[] = {40, 96, 152, 208, 264, 40, 96, 152, 208, 208, 152, 264, 40, 96, 152, 208, 264};
int difference;
+ byte *pendulumSurface = drawSurface3;
if (actorFrames[kFramePendulum] <= 4)
pendulumSurface = drawSurface3;