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

(cherry picked from commit 89cd756cd83e4a03a34d1f16da18142d8167d889)
This commit is contained in:
Monster Iestyn authored and James R committed 2020-05-15 09:52:16 -07:00
1 parent f856f18233
commit 05c8865528
2 files changed
+3 -1

No files matched your search

+2
View File
@@ -143,6 +143,8 @@ boolean advancedemo;
INT32 debugload = 0;
#endif
char savegamename[256];
#ifdef _arch_dreamcast
char srb2home[256] = "/cd";
char srb2path[256] = "/cd";
+1 -1
View File
@@ -506,7 +506,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