diff options
| author | Tannin <sherb@gmx.net> | 2015-11-19 19:05:50 +0100 |
|---|---|---|
| committer | Tannin <sherb@gmx.net> | 2015-11-19 19:05:50 +0100 |
| commit | a4b69c9ed8ba44aab26ff567e0f0eaf390e29cee (patch) | |
| tree | 1bd3b1c30a8e82809558d9c93c8d3747d7edb4a4 /src/shared/gameinfo.cpp | |
| parent | 053ebc898f6e1eb16ea9366ab21796004d2347da (diff) | |
added fallout 4 support
Diffstat (limited to 'src/shared/gameinfo.cpp')
| -rw-r--r-- | src/shared/gameinfo.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shared/gameinfo.cpp b/src/shared/gameinfo.cpp index 1f25cec1..db72653e 100644 --- a/src/shared/gameinfo.cpp +++ b/src/shared/gameinfo.cpp @@ -23,6 +23,7 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>. #include "oblivioninfo.h"
#include "fallout3info.h"
+#include "fallout4info.h"
#include "falloutnvinfo.h"
#include "skyriminfo.h"
#include "util.h"
@@ -97,6 +98,8 @@ bool GameInfo::identifyGame(const std::wstring &moDirectory, const std::wstring s_Instance = new FalloutNVInfo(moDirectory, moDataDirectory, searchPath);
} else if (SkyrimInfo::identifyGame(searchPath)) {
s_Instance = new SkyrimInfo(moDirectory, moDataDirectory, searchPath);
+ } else if (Fallout4Info::identifyGame(searchPath)) {
+ s_Instance = new Fallout4Info(moDirectory, moDataDirectory, searchPath);
}
return s_Instance != nullptr;
|
