summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeon Krause <lk@leonkrause.com>2018-05-12 12:50:58 +0200
committerLeon Krause <lk@leonkrause.com>2018-05-12 12:50:58 +0200
commit3bdeb6f8a88df45d3fa9d8908204458b39be95ed (patch)
tree60ae19b9a339973031f93bff2bbe372ff376cdb4
parentfb8f71fe54d32487e6ac6fa90b783b7fa74d7170 (diff)
Revert "Fix custom resource path look-up per command line"
This reverts commit 942f6dfbd66c1d15a45ef6447fd883103d9678a8.
-rw-r--r--main/main.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/main/main.cpp b/main/main.cpp
index 36d27f19ec..c9e1c7a3aa 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -337,7 +337,7 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
String video_driver = "";
String audio_driver = "";
- String game_path;
+ String game_path = ".";
bool upwards = false;
String debug_mode;
String debug_host;
@@ -693,9 +693,6 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
I = N;
}
- if (game_path.empty()) {
- game_path = ".";
- }
if (globals->setup(game_path, main_pack, upwards) == OK) {
found_project = true;
} else {