revert changes

This commit is contained in:
FunkyFr3sh 2023-08-05 05:02:49 +02:00
parent 15cee173fc
commit 62688e93d4
2 changed files with 1 additions and 2 deletions

View file

@ -20,7 +20,6 @@ typedef struct CNCDDRAWCONFIG
extern CNCDDRAWCONFIG g_config; extern CNCDDRAWCONFIG g_config;
void cfg_init();
void cfg_load(); void cfg_load();
void cfg_save(); void cfg_save();

View file

@ -1054,7 +1054,7 @@ static void cfg_create_ini()
} }
} }
void cfg_init() static void cfg_init()
{ {
/* get process filename and directory */ /* get process filename and directory */
if (GetModuleFileNameA(NULL, g_config.game_path, sizeof(g_config.game_path) - 1) > 0) if (GetModuleFileNameA(NULL, g_config.game_path, sizeof(g_config.game_path) - 1) > 0)