From a4b69c9ed8ba44aab26ff567e0f0eaf390e29cee Mon Sep 17 00:00:00 2001 From: Tannin Date: Thu, 19 Nov 2015 19:05:50 +0100 Subject: added fallout 4 support --- src/shared/gameinfo.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/shared/gameinfo.cpp') 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 . #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; -- cgit v1.3.1