diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-03-26 23:17:29 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-03-26 23:17:29 +0300 |
commit | bd9912213f459d2b86154d17a2cbbe09c4ab562e (patch) | |
tree | aa0531f645127c41633168aafa91ff669e789347 /src/subgame.cpp | |
parent | 814ada538a9e2380827b0e3600fa8caef9533265 (diff) | |
download | minetest-bd9912213f459d2b86154d17a2cbbe09c4ab562e.tar.gz minetest-bd9912213f459d2b86154d17a2cbbe09c4ab562e.tar.bz2 minetest-bd9912213f459d2b86154d17a2cbbe09c4ab562e.zip |
Prefer _game postfix in game names (to be squashed to the previous commit)
Diffstat (limited to 'src/subgame.cpp')
-rw-r--r-- | src/subgame.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/subgame.cpp b/src/subgame.cpp index 00b63bdcf..243bdc048 100644 --- a/src/subgame.cpp +++ b/src/subgame.cpp @@ -54,13 +54,13 @@ SubgameSpec findSubgame(const std::string &id) std::string user = porting::path_user; std::vector<GameFindPath> find_paths; find_paths.push_back(GameFindPath( - user + DIR_DELIM + "games" + DIR_DELIM + id, true)); - find_paths.push_back(GameFindPath( user + DIR_DELIM + "games" + DIR_DELIM + id + "_game", true)); find_paths.push_back(GameFindPath( - share + DIR_DELIM + "games" + DIR_DELIM + id, false)); + user + DIR_DELIM + "games" + DIR_DELIM + id, true)); find_paths.push_back(GameFindPath( share + DIR_DELIM + "games" + DIR_DELIM + id + "_game", false)); + find_paths.push_back(GameFindPath( + share + DIR_DELIM + "games" + DIR_DELIM + id, false)); // Find game directory std::string game_path; bool user_game = true; // Game is in user's directory |