diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2014-07-17 16:50:40 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2014-07-17 23:35:14 -0700 |
commit | 25070b355b8a0394c1fbd9cf82c44752b5a8b8c3 (patch) | |
tree | 5e8edf1e5e3f58a8b11b1fcdd2fa851b2322df35 /src/mmo | |
parent | 3b0b6deecf156916a9fb68dda9ca4b8a47d65aab (diff) | |
download | tmwa-25070b355b8a0394c1fbd9cf82c44752b5a8b8c3.tar.gz tmwa-25070b355b8a0394c1fbd9cf82c44752b5a8b8c3.tar.bz2 tmwa-25070b355b8a0394c1fbd9cf82c44752b5a8b8c3.tar.xz tmwa-25070b355b8a0394c1fbd9cf82c44752b5a8b8c3.zip |
Add dir annoyances
Diffstat (limited to 'src/mmo')
-rw-r--r-- | src/mmo/core.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mmo/core.cpp b/src/mmo/core.cpp index 2264ec6..f1a8d07 100644 --- a/src/mmo/core.cpp +++ b/src/mmo/core.cpp @@ -27,6 +27,8 @@ #include <csignal> #include <cstdlib> +#include <tmwa/shared.hpp> + #include "../strings/zstring.hpp" #include "../strings/literal.hpp" @@ -107,6 +109,9 @@ void sig_proc(int) int main(int argc, char **argv) { using namespace tmwa; + + check_paths(); + // ZString args[argc]; is (deliberately!) not supported by clang yet ZString *args = static_cast<ZString *>(alloca(argc * sizeof(ZString))); for (int i = 0; i < argc; ++i) |