diff options
Diffstat (limited to 'engines/neverhood/module1700.cpp')
-rw-r--r-- | engines/neverhood/module1700.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/neverhood/module1700.cpp b/engines/neverhood/module1700.cpp index 9188dab2b0..58fc83511c 100644 --- a/engines/neverhood/module1700.cpp +++ b/engines/neverhood/module1700.cpp @@ -144,7 +144,7 @@ Class606::Class606(NeverhoodEngine *vm, Scene *parentScene, int index, int surfa if (!getSubVar(0x02038314, _index) && !getSubVar(0x02720344, _index)) { SetMessageHandler(&Class606::handleMessage); } else { - _surface->setVisible(false); + setVisible(false); SetMessageHandler(NULL); } _deltaRect = _drawRect; @@ -164,7 +164,7 @@ uint32 Class606::handleMessage(int messageNum, const MessageParam ¶m, Entity break; case 0x4806: setSubVar(0x02038314, _index, 1); - _surface->setVisible(false); + setVisible(false); SetMessageHandler(NULL); break; } |