summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
Diffstat (limited to 'src/game')
-rw-r--r--src/game/game.hpp2
-rw-r--r--src/game/game_core.cpp4
2 files changed, 0 insertions, 6 deletions
diff --git a/src/game/game.hpp b/src/game/game.hpp
index 329ba5e50..95d9aa0a1 100644
--- a/src/game/game.hpp
+++ b/src/game/game.hpp
@@ -112,11 +112,9 @@ public:
*/
static class GameInstance *GetInstance() { return Game::instance; }
-#if defined(ENABLE_NETWORK)
/** Wrapper function for GameScanner::HasGame */
static bool HasGame(const struct ContentInfo *ci, bool md5sum);
static bool HasGameLibrary(const ContentInfo *ci, bool md5sum);
-#endif
/** Gets the ScriptScanner instance that is used to find Game scripts */
static GameScannerInfo *GetScannerInfo();
/** Gets the ScriptScanner instance that is used to find Game Libraries */
diff --git a/src/game/game_core.cpp b/src/game/game_core.cpp
index 10b079bee..7b05abb40 100644
--- a/src/game/game_core.cpp
+++ b/src/game/game_core.cpp
@@ -257,8 +257,6 @@
return Game::scanner_library->FindLibrary(library, version);
}
-#if defined(ENABLE_NETWORK)
-
/**
* Check whether we have an Game (library) with the exact characteristics as ci.
* @param ci the characteristics to search on (shortname and md5sum)
@@ -275,8 +273,6 @@
return Game::scanner_library->HasScript(ci, md5sum);
}
-#endif /* defined(ENABLE_NETWORK) */
-
/* static */ GameScannerInfo *Game::GetScannerInfo()
{
return Game::scanner_info;