File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -351,8 +351,11 @@ void Parallaction_ns::changeLocation() {
351
351
MouseTriState oldMouseState = _input->getMouseState ();
352
352
_input->setMouseState (MOUSE_DISABLED);
353
353
354
- _soundManI->playLocationMusic (location);
355
-
354
+ if (!_intro) {
355
+ // prevent music changes during the introduction
356
+ _soundManI->playLocationMusic (location);
357
+ }
358
+
356
359
_input->stopHovering ();
357
360
// this is still needed to remove the floatingLabel
358
361
_gfx->freeLabels ();
@@ -468,8 +471,11 @@ void Parallaction_ns::changeCharacter(const char *name) {
468
471
_objects = _disk->loadObjects (_char.getBaseName ());
469
472
_objectsNames = _disk->loadTable (_char.getBaseName ());
470
473
471
- _soundManI->playCharacterMusic (_char.getBaseName ());
472
-
474
+ if (!_intro) {
475
+ // prevent music changes during the introduction
476
+ _soundManI->playCharacterMusic (_char.getBaseName ());
477
+ }
478
+
473
479
// The original engine used to reload 'common' only on loadgames. We are reloading here since 'common'
474
480
// contains character specific stuff. This causes crashes like bug #1816899, because parseLocation tries
475
481
// to reload scripts but the data archive selected is occasionally wrong. This has been solved by having
You can’t perform that action at this time.
0 commit comments