diff options
-rw-r--r-- | engines/neverhood/module1600.cpp | 2 | ||||
-rw-r--r-- | engines/neverhood/module3000.cpp | 7 | ||||
-rw-r--r-- | engines/neverhood/module3000.h | 2 |
3 files changed, 5 insertions, 6 deletions
diff --git a/engines/neverhood/module1600.cpp b/engines/neverhood/module1600.cpp index 8b35942bc0..5c890e0653 100644 --- a/engines/neverhood/module1600.cpp +++ b/engines/neverhood/module1600.cpp @@ -1445,7 +1445,7 @@ uint32 Scene1609::handleMessage(int messageNum, const MessageParam ¶m, Entit if (!_flag6) { if (_flag5) _asSymbols[_index3]->change(_index1 + 12, false); - _asSymbols[_index3]->stopSound(); + _asSymbols[_index3]->stopSymbolSound(); _index3++; if (_index3 >= 12) { if (testVars()) { diff --git a/engines/neverhood/module3000.cpp b/engines/neverhood/module3000.cpp index 9ccda915c8..78ab74d61a 100644 --- a/engines/neverhood/module3000.cpp +++ b/engines/neverhood/module3000.cpp @@ -1498,12 +1498,11 @@ void AsScene3011Symbol::hide() { setVisible(false); } -void AsScene3011Symbol::stopSound() { +void AsScene3011Symbol::stopSymbolSound() { if (_flag2) { - Entity::stopSound(1); + stopSound(1); } else { - // CHECKME this is wrong - //_soundResource2.stop(); + stopSound(0); } } diff --git a/engines/neverhood/module3000.h b/engines/neverhood/module3000.h index 0c1df86dd6..2f7c21f30e 100644 --- a/engines/neverhood/module3000.h +++ b/engines/neverhood/module3000.h @@ -224,7 +224,7 @@ public: AsScene3011Symbol(NeverhoodEngine *vm, int index, bool flag); void show(bool flag); void hide(); - void stopSound(); + void stopSymbolSound(); void change(int index, bool flag); bool getFlag1() { return _flag1; } int getIndex() { return _index; } |