mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-04 09:56:30 +00:00
NEVERHOOD: Fix AsScene3011Symbol
This commit is contained in:
parent
45da15adce
commit
1b3a686cac
@ -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()) {
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user