From a23b694c94d318b3e06f450189aab82b3908fcc5 Mon Sep 17 00:00:00 2001 From: johndoe123 Date: Sat, 16 Jul 2011 11:01:08 +0000 Subject: NEVERHOOD: Implement Scene1005 - Add FontSurface - Add DataResource - Fix NavigationScene, only accept input when interactive --- engines/neverhood/navigationscene.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'engines/neverhood/navigationscene.cpp') 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 ¶m, 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) -- cgit v1.2.3