overlaytopleft/games-fps/gzdoom/files/0003-Fix-Quicksave-Rotation.patch

26 lines
765 B
Diff

From 0d60192f3dfed0c6bf62a037241329543c006b4d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ricardo=20Lu=C3=ADs=20Vaz=20Silva?= <ricolvs123@gmail.com>
Date: Sun, 4 Dec 2022 22:25:51 -0300
Subject: [PATCH 03/51] Fix Quicksave Rotation
---
src/g_game.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/g_game.cpp b/src/g_game.cpp
index d015fe837..4a3398fde 100644
--- a/src/g_game.cpp
+++ b/src/g_game.cpp
@@ -2250,7 +2250,7 @@ void G_DoQuickSave ()
num.Int = lastquicksave;
quicksavenum->ForceSet (num, CVAR_Int);
- file = G_BuildSaveName(FStringf("quick%02d", nextautosave));
+ file = G_BuildSaveName(FStringf("quick%02d", lastquicksave));
readableTime = myasctime ();
description.Format("Quicksave %s", readableTime);
--
2.39.3