mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 13:50:13 +00:00
The pendulumSurface pointer is only used in update_102()
svn-id: r32614
This commit is contained in:
parent
5880defea4
commit
dcde2f7a96
@ -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);
|
||||
|
@ -286,7 +286,6 @@ public:
|
||||
byte *screenSurface;
|
||||
byte *frontSurface;
|
||||
byte *textSurface;
|
||||
byte *pendulumSurface;
|
||||
byte *AuxBuffOrg;
|
||||
byte *AuxBuffDes;
|
||||
byte *pointer;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user