Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnlockAllThings REALLY should be disabled by default, not auto-unlock. #52

Open
jaigitrep159 opened this issue Aug 23, 2024 · 2 comments

Comments

@jaigitrep159
Copy link

after launching the game, it seems like it auto-unlocks all things... until i realized this line here:
https://github.com/ExOptsTeam/NFSCExOpts/blob/36e383915d1dcab60dcca6b4587f145bf9bdfc27/NFSCExtraOptions/dllmain.cpp#L315C2-L315C81

it REALLY should be disabled by default and not auto-unlock everything everytime i launch the game.

This is 1.4 Collectors Edition patch btw. please fix

@jaigitrep159
Copy link
Author

seems like there's a compatibility mode issue...? I set to Windows XP SP3 and this happened here, i think... this is really odd tbh

@jaigitrep159
Copy link
Author

Yep, as i found out,

in Line 315:

UnlockAllThings = iniReader.ReadInteger("Gameplay", "UnlockAllThings", 0) == 1;

is a bug.

should be:

UnlockAllThings = iniReader.ReadInteger("Gameplay", "UnlockAllThings", 0) != 0;

referencing here:
https://github.com/ExOptsTeam/NFSMWExOpts/blob/8a094fe29d28195bdcf69122dbfe945f16315f9a/NFSMWExtraOptions/ExtraOptionsStuff.h#L105

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant