Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Eliminates the one remaining warning in there and simplifies the logic a bit. The overall procedure seems to work like this: 1. Check if Oblivion.ini exists in Oblivion's directory. 2. If the file exists, check if bUseMyGamesDirectory exists and retrieve its value. 3. If Oblivion.ini exists and the bUseMyGamesDirectory option is present and it's set to 0, set the saveBase and mods dirs relative to the Oblivion directory. 4. If any of the above are false, keep the saveBase and mods dirs at their default values. This also seems to be Oblivion-specific - STEP calls bUseMyGamesDirectory 'unused' for Skyrim, but I'd have to ask e.g. Nukem for further information on this.
- Loading branch information