The pendulumSurface pointer is only used in update_102()

svn-id: r32614
This commit is contained in:
Filippos Karapetis 2008-06-08 11:26:48 +00:00
parent 5880defea4
commit dcde2f7a96
3 changed files with 1 additions and 3 deletions

View File

@ -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);

View File

@ -286,7 +286,6 @@ public:
byte *screenSurface;
byte *frontSurface;
byte *textSurface;
byte *pendulumSurface;
byte *AuxBuffOrg;
byte *AuxBuffDes;
byte *pointer;

View File

@ -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;