summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorThomas Tanner <trtanner@btinternet.com>2015-11-23 13:35:48 +0000
committerThomas Tanner <trtanner@btinternet.com>2015-11-23 13:35:48 +0000
commit2a50683133953edd80606aedbdd93a7f10d4a7d8 (patch)
tree8873d805e0d5f0a3876632622cba30b7c5643e9f /src/shared
parentefaba9070639dbdc77955784b5de3365c9271738 (diff)
Removed 'requiresSteam' which is only used in one place and might or might not be game related
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/gameinfo.cpp5
-rw-r--r--src/shared/gameinfo.h2
2 files changed, 0 insertions, 7 deletions
diff --git a/src/shared/gameinfo.cpp b/src/shared/gameinfo.cpp
index 703f4a40..2890e9cc 100644
--- a/src/shared/gameinfo.cpp
+++ b/src/shared/gameinfo.cpp
@@ -135,11 +135,6 @@ std::wstring GameInfo::getGameDirectory() const
return m_GameDirectory;
}
-bool GameInfo::requiresSteam() const
-{
- return FileExists(getGameDirectory() + L"\\steam_api.dll");
-}
-
std::wstring GameInfo::getLocalAppFolder() const
{
wchar_t localAppFolder[MAX_PATH];
diff --git a/src/shared/gameinfo.h b/src/shared/gameinfo.h
index 57613e5e..e1a70597 100644
--- a/src/shared/gameinfo.h
+++ b/src/shared/gameinfo.h
@@ -71,8 +71,6 @@ public:
//**USED IN HOOKDLL
virtual std::wstring getGameDirectory() const;
- virtual bool requiresSteam() const;
-
// get a list of file extensions for additional files belonging to a save game
virtual std::vector<std::wstring> getSavegameAttachmentExtensions() = 0;