X-Git-Url: https://git.rohieb.name/hackover2013-badge-firmware.git/blobdiff_plain/a5be9eb1faa85fd314105544959f1a378e901de5..5337261a68ea89b88624ca6fd7319cadd662e057:/mock/tools/level-converter.cc diff --git a/mock/tools/level-converter.cc b/mock/tools/level-converter.cc index 88e9315..eb8b1c6 100644 --- a/mock/tools/level-converter.cc +++ b/mock/tools/level-converter.cc @@ -22,7 +22,7 @@ enum { LEVEL_LINE_COUNT = 14 }; -#define PATH_PREFIX "../badge/jumpnrun/" +#define PATH_PREFIX "../badge/jumpnrun/levels/" namespace jnrcpp { struct descriptors { @@ -70,10 +70,10 @@ namespace jnrcpp { struct level_name_map { level_name_map() { - std::ifstream in(PATH_PREFIX "levels.txt"); + std::ifstream in("levels.txt"); if(!in) { - throw std::logic_error(PATH_PREFIX "levels.txt konnte nicht geöffnet werden."); + throw std::logic_error("levels.txt konnte nicht geöffnet werden."); } std::string name;