diff options
author | Filippos Karapetis | 2013-12-25 19:12:00 +0200 |
---|---|---|
committer | Filippos Karapetis | 2013-12-25 19:12:00 +0200 |
commit | 43c226436c5cb466fa066cbb8fad46477d73e31e (patch) | |
tree | 877310e4826794e7dbc04582fa5d401af328f6f6 /engines/neverhood/modules/module1400_sprites.cpp | |
parent | 6bbec02a6e45a728b2c0fde9ce96ef8cd4304bb4 (diff) | |
download | scummvm-rg350-43c226436c5cb466fa066cbb8fad46477d73e31e.tar.gz scummvm-rg350-43c226436c5cb466fa066cbb8fad46477d73e31e.tar.bz2 scummvm-rg350-43c226436c5cb466fa066cbb8fad46477d73e31e.zip |
NEVERHOOD: Change more message values to enums
Diffstat (limited to 'engines/neverhood/modules/module1400_sprites.cpp')
-rw-r--r-- | engines/neverhood/modules/module1400_sprites.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/neverhood/modules/module1400_sprites.cpp b/engines/neverhood/modules/module1400_sprites.cpp index 80c16cc66c..478b328034 100644 --- a/engines/neverhood/modules/module1400_sprites.cpp +++ b/engines/neverhood/modules/module1400_sprites.cpp @@ -553,7 +553,7 @@ AsScene1402PuzzleBox::AsScene1402PuzzleBox(NeverhoodEngine *vm, Scene *parentSce uint32 AsScene1402PuzzleBox::handleMessage(int messageNum, const MessageParam ¶m, Entity *sender) { uint32 messageResult = Sprite::handleMessage(messageNum, param, sender); switch (messageNum) { - case 0x2002: + case NM_POSITION_CHANGE: playSound(1); startAnimation(0x20060259, -1, -1); _playBackwards = true; |