aboutsummaryrefslogtreecommitdiff
path: root/engines/neverhood/navigationscene.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/neverhood/navigationscene.cpp')
-rw-r--r--engines/neverhood/navigationscene.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/neverhood/navigationscene.cpp b/engines/neverhood/navigationscene.cpp
index 81af71fe17..f6be668b3c 100644
--- a/engines/neverhood/navigationscene.cpp
+++ b/engines/neverhood/navigationscene.cpp
@@ -99,10 +99,12 @@ void NavigationScene::update() {
uint32 NavigationScene::handleMessage(int messageNum, const MessageParam &param, Entity *sender) {
switch (messageNum) {
case 0x0000:
- _mouseCursor->sendMessage(0x4002, param, this);
+ if (_interactive)
+ _mouseCursor->sendMessage(0x4002, param, this);
break;
case 0x0001:
- handleNavigation(param.asPoint());
+ if (_interactive)
+ handleNavigation(param.asPoint());
break;
case 0x0009:
if (!_interactive)