diff options
author | Filippos Karapetis | 2013-12-25 17:10:14 +0200 |
---|---|---|
committer | Filippos Karapetis | 2013-12-25 17:10:42 +0200 |
commit | 962e2fd550bad06bf3328a0964d29f79b7da242d (patch) | |
tree | f3b5aa497d02888cb6ecbc4488457712806bbab9 /engines/neverhood/modules/module1100.cpp | |
parent | 0e14a8ecbef2f402a06b6f518b33d1d56d96f3e1 (diff) | |
download | scummvm-rg350-962e2fd550bad06bf3328a0964d29f79b7da242d.tar.gz scummvm-rg350-962e2fd550bad06bf3328a0964d29f79b7da242d.tar.bz2 scummvm-rg350-962e2fd550bad06bf3328a0964d29f79b7da242d.zip |
NEVERHOOD: Change more message values to enums
Diffstat (limited to 'engines/neverhood/modules/module1100.cpp')
-rw-r--r-- | engines/neverhood/modules/module1100.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/neverhood/modules/module1100.cpp b/engines/neverhood/modules/module1100.cpp index 693f64d6ba..08b134205c 100644 --- a/engines/neverhood/modules/module1100.cpp +++ b/engines/neverhood/modules/module1100.cpp @@ -286,7 +286,7 @@ uint32 Scene1105::handleMessage(int messageNum, const MessageParam ¶m, Entit uint32 messageResult = 0; Scene::handleMessage(messageNum, param, sender); switch (messageNum) { - case 0x0001: + case NM_MOUSE_CLICK: if (param.asPoint().x <= 20 || param.asPoint().x >= 620) { if (!_isActionButtonClicked && _backgroundIndex == 0) { if (_isPanelOpen) { @@ -309,7 +309,7 @@ uint32 Scene1105::handleMessage(int messageNum, const MessageParam ¶m, Entit _leaveResult = 1; SetUpdateHandler(&Scene1105::upClosePanel); break; - case NM_LEVER_UP: + case NM_KLAYMEN_RAISE_LEVER: if (sender == _ssActionButton) { if (getSubVar(VA_GOOD_DICE_NUMBERS, 0) == getSubVar(VA_CURR_DICE_NUMBERS, 0) && getSubVar(VA_GOOD_DICE_NUMBERS, 1) == getSubVar(VA_CURR_DICE_NUMBERS, 1) && |