Skip to content

Commit

Permalink
Patches (Maniac/DynRpg) were not reset when loading a new game
Browse files Browse the repository at this point in the history
Fix #2909
  • Loading branch information
Ghabry committed Mar 8, 2023
1 parent ed38c6a commit 121d0f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -820,6 +820,8 @@ void Player::CreateGameObjects() {
Main_Data::filefinder_rtp = std::make_unique<FileFinder_RTP>(no_rtp_flag, no_rtp_warning_flag, rtp_path);

if ((patch & PatchOverride) == 0) {
patch = PatchNone;

if (!FileFinder::Game().FindFile("dynloader.dll").empty()) {
patch |= PatchDynRpg;
Output::Warning("This game uses DynRPG and will not run properly.");
Expand Down

0 comments on commit 121d0f5

Please sign in to comment.