Skip to content

Commit

Permalink
Fix incorrect savegame timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
bradharding committed Nov 27, 2024
1 parent d3b6874 commit 9d78e8d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/g_game.c
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,9 @@ static int dclicktime2;
static bool dclickstate2;
static int dclicks2;

static int savegameslot;
static char savedescription[SAVESTRINGSIZE];
int savegameslot;
char savename[MAX_PATH];
static char savedescription[SAVESTRINGSIZE];

gameaction_t loadaction = ga_nothing;

Expand Down
1 change: 1 addition & 0 deletions src/g_game.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ extern char keyactionlist[NUMKEYS][255];
extern char mouseactionlist[MAXMOUSEBUTTONS + 2][255];
extern int st_facecount;
extern char savename[MAX_PATH];
extern int savegameslot;
extern bool usefreelook;
extern bool secretexit;
extern gameaction_t loadaction;
Expand Down
1 change: 1 addition & 0 deletions src/m_menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -1072,6 +1072,7 @@ static void M_LoadSelect(int choice)
S_StartSound(NULL, sfx_pistol);
functionkey = 0;
quicksaveslot = choice;
savegameslot = choice;
G_LoadGame(name);
}
else
Expand Down

0 comments on commit 9d78e8d

Please sign in to comment.