Skip to content
Snippets Groups Projects
Commit 0deb68d8 authored by PilzAdam's avatar PilzAdam
Browse files

Use DIR_DELIM instead of / in file paths

parent b75505e6
No related branches found
No related tags found
No related merge requests found
...@@ -101,9 +101,9 @@ SubgameSpec findSubgame(const std::string &id) ...@@ -101,9 +101,9 @@ SubgameSpec findSubgame(const std::string &id)
std::string menuoverlay_path; std::string menuoverlay_path;
std::string menuicon_path; std::string menuicon_path;
#ifndef SERVER #ifndef SERVER
menubackground_path = getImagePath(game_path + DIR_DELIM + "menu/background.png"); menubackground_path = getImagePath(game_path + DIR_DELIM + "menu" + DIR_DELIM + "background.png");
menuoverlay_path = getImagePath(game_path + DIR_DELIM + "menu/overlay.png"); menuoverlay_path = getImagePath(game_path + DIR_DELIM + "menu" + DIR_DELIM + "overlay.png");
menuicon_path = getImagePath(game_path + DIR_DELIM + "menu/icon.png"); menuicon_path = getImagePath(game_path + DIR_DELIM + "menu" + DIR_DELIM + "icon.png");
#endif #endif
return SubgameSpec(id, game_path, gamemod_path, mods_paths, game_name, return SubgameSpec(id, game_path, gamemod_path, mods_paths, game_name,
menubackground_path, menuoverlay_path, menuicon_path); menubackground_path, menuoverlay_path, menuicon_path);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment