Skip to content

Commit

Permalink
Don't switch to PC Speaker mode if there is a mod name in the replay …
Browse files Browse the repository at this point in the history
…file.
  • Loading branch information
NagyD committed Feb 23, 2020
1 parent 9582581 commit 90ad142
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/ChangeLog.txt
Expand Up @@ -546,3 +546,4 @@ FIXED: Fix priorities of sword and spike sounds. (As in PoP 1.3.)

FIXED: Skeletons not on level 3 did not behave like skeletons.
FIXED: Don't crash if the intro music is interrupted by Tab in PC Speaker mode.
FIXED: Don't switch to PC Speaker mode if there is a mod name in the replay file.
1 change: 1 addition & 0 deletions src/replay.c
Expand Up @@ -621,6 +621,7 @@ void apply_replay_options() {
memcpy(levelset_name, replay_levelset_name, sizeof(levelset_name));
use_custom_levelset = (levelset_name[0] == '\0') ? 0 : 1;

load_mod_options(); // Load resources from the correct places if there is a mod name in the replay file. This also prevents unwanted switching to PC Speaker mode.
reload_resources();
}

Expand Down

0 comments on commit 90ad142

Please sign in to comment.