remove the assumption that game is ran from cwd at root

This commit is contained in:
veclavtalica committed 2024-10-07 13:22:25 +03:00
1 parent 6cbfc8a5fb
commit 93aa8ff2b4
5 files changed
+37 -10

No files matched your search

+2
View File
@@ -21,6 +21,8 @@ typedef struct EngineContext {
/* the program's actual argc and argv */
int argc;
char **argv;
/* where the app was run from, used as the root for packs */
char *base_dir;
/* configuration */
toml_table_t *config_table;