make savegamename in doomdef.h an extern, put the actual definition in d_main.c

This commit is contained in:
Monster Iestyn 2020-05-12 18:37:15 +01:00
parent feced5ec3c
commit 89cd756cd8
2 changed files with 3 additions and 1 deletions

View File

@ -125,6 +125,8 @@ boolean advancedemo;
INT32 debugload = 0;
#endif
char savegamename[256];
char srb2home[256] = ".";
char srb2path[256] = ".";
boolean usehome = true;

View File

@ -458,7 +458,7 @@ void CONS_Debug(INT32 debugflags, const char *fmt, ...) FUNCDEBUG;
// Things that used to be in dstrings.h
#define SAVEGAMENAME "srb2sav"
char savegamename[256];
extern char savegamename[256];
// m_misc.h
#ifdef GETTEXT