diff options
author | PilzAdam <pilzadam@minetest.net> | 2013-05-02 23:08:59 +0200 |
---|---|---|
committer | PilzAdam <pilzadam@minetest.net> | 2013-05-02 23:08:59 +0200 |
commit | 0deb68d81cd5ebbd24671702be940e1c871e43f2 (patch) | |
tree | 3eb161dc5d9e3e767ef1bb4155b3c282cd2649e6 /src | |
parent | b75505e6b2b82d48980ff71649dd4944b04b6f78 (diff) | |
download | minetest-0deb68d81cd5ebbd24671702be940e1c871e43f2.tar.gz minetest-0deb68d81cd5ebbd24671702be940e1c871e43f2.tar.bz2 minetest-0deb68d81cd5ebbd24671702be940e1c871e43f2.zip |
Use DIR_DELIM instead of / in file paths
Diffstat (limited to 'src')
-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 a17b16234..1bee630b2 100644 --- a/src/subgame.cpp +++ b/src/subgame.cpp @@ -101,9 +101,9 @@ SubgameSpec findSubgame(const std::string &id) std::string menuoverlay_path; std::string menuicon_path; #ifndef SERVER - menubackground_path = getImagePath(game_path + DIR_DELIM + "menu/background.png"); - menuoverlay_path = getImagePath(game_path + DIR_DELIM + "menu/overlay.png"); - menuicon_path = getImagePath(game_path + DIR_DELIM + "menu/icon.png"); + menubackground_path = getImagePath(game_path + DIR_DELIM + "menu" + DIR_DELIM + "background.png"); + menuoverlay_path = getImagePath(game_path + DIR_DELIM + "menu" + DIR_DELIM + "overlay.png"); + menuicon_path = getImagePath(game_path + DIR_DELIM + "menu" + DIR_DELIM + "icon.png"); #endif return SubgameSpec(id, game_path, gamemod_path, mods_paths, game_name, menubackground_path, menuoverlay_path, menuicon_path); |