From 3472a614ae3b4ecf7f49516a97d387761f0f5820 Mon Sep 17 00:00:00 2001 From: aap Date: Thu, 13 Jun 2019 01:12:37 +0200 Subject: fixed CFileMgr somewhat; still issues when loading saves --- src/re3.cpp | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/re3.cpp') diff --git a/src/re3.cpp b/src/re3.cpp index 55ce5699..905aa992 100644 --- a/src/re3.cpp +++ b/src/re3.cpp @@ -47,17 +47,6 @@ mysrand(unsigned int seed) myrand_seed = seed; } -// platform stuff -char* -GetUserDirectory(void) -{ - static char path[MAX_PATH]; - strcpy(path, "userfiles"); - mkdir(path); - return path; -} - - int (*open_script_orig)(const char *path, const char *mode); int open_script(const char *path, const char *mode) -- cgit v1.2.3